At my "middle" school, it was private, so we had a uniform. Also had very stupid rules:

1) No skirts above the knees
2) Girls could not wear trousers
3) Girls could not leave their hair out if it was shoulder length or longer
4) If you did tie your hair back, it had to be with school coloured scrunchies
5) You were not allowed to bring any bag except your regulation school bag
6) NO dyeing of hair WHATSOEVER

As well as the usual no jewelry, no tattoos, etc

Then, at high school, it was ANYTHING GOES

.... and believe me, IT WENT!!!!!!!!!