Is it okay to wear a knee high strapless dress to prom?

From what I know your probably not allowed to... I think its because too much cleavage, or something like that...