But fellow pupils later reported that many of the boys were put in isolation by school
Today, one student claimed he was told to change his skirt because it was too short while another said it was because his legs were too hairy.
They added that some of the older boys brought pink razors from a local shop and shaved their legs on the way to school.
Teenager Josh Baxter said: "I wore a skirt yesterday and was told to take it off because I had hairy legs."
Another boy added: "I liked wearing it yesterday. It was a nice breeze."
Parent Claire Reeves, 30, said: "The girls are allowed to wear skirts all year round so I think it's completely unfair that the boys can't wear shorts.
"Boys just don't have the option and I am just really concerned about how the heat is going to affect him."
Another mother with a 14-year-old son at the school said: "My son wanted to wear shorts but was told he would be put in the isolation room for the rest of the week.
"The head teacher told them 'Well you can wear a skirt if you like' but I think she was being sarcastic.
"However, children tend to take you literally and so five boys turned up in skirts - and because she told them it was OK there was nothing she could do as long as they are school skirts.
"One of the five boys did get in trouble - because it was too short."
She added: "Children also don't like injustice.
"The boys see the women teachers in sandals and nice cool skirts and tops while they are wearing long trousers and shoes and the older boys have to wear blazers.
"They just think it's unfair that they can't wear shorts in this heat.
"They are doing this to cool down - but also to protest because they don't feel they have been listened to."
Several people support the boys on Twitter. Dave Lisney said: "That's a stupid rule. Good on the fellas for protesting in such a creative way."
Jerry Lonsdale said: "Who on earth makes up these rules, surely health and well-being of children just as important as learning."
Another user said: "Should be allowed to dress comfortably during this time of year. Which century are the school management actually living in?"
Headteacher Miss Aimee Mitchell said they are considering revising the school uniform policy.
She said: "We recognise that the last few days have been exceptionally hot and we are doing our utmost to enable both students and staff to remain as comfortable as possible.
"Shorts are not currently part of our uniform for boys and I would not want to make any changes without consulting both students and their families.
"However, with hotter weather becoming more normal, I would be happy to consider a change for the future."