Where are you getting your information from? In many school’s dress code policies, they specify that female students cannot do certain things, and that male students cannot do certain things, albeit the male list is usually much shorter or easier to get around.