Definition of dress code
noun
a set of rules, usually written and posted, specifying the required manner of dress at a school, office, club, restaurant, etc.:while the dress code doesn’t require two-tone shoes, you will get turned away if you wear jeans the customary style of dress of a specified group:jeans or shorts, the standard dress code for producer types