Iran has a special dress-code for women and men.
However,these rules are not so strict for tourists and foreigners.
Men cannot wear short pants or extremely short sleeve shirts.
Women should cover their head and hair with a light scarf.
It is better to put on long shirt with sleeves and long pants.