A dress code is similar to a uniform, it tells you what you can and can't wear.