When a student attends a school - public, private, parochial, home - he becomes part of that institution and thus subject to the rules and policies of that institution. A dress code is one of those...