Is it acceptable to use spaces in div names like this?
<div class="frame header">Some content here</div>
Having a space in the name might require separate CSS classes such as:
.frame { display: block; }
.header { background-color: #efefef; }
I am curious if having a space in the actual markup, as shown above, complies with XHTML strict standards. I have tried validating it on the W3C validation tool, but strangely, it seems to pass regardless of what I input. Frustrating...