Forum Moderators: open
Documents that include elements that set the style attribute but which don't define a default style sheet language are incorrect.
[w3.org ]
Do you use inline style information but donīt define a default style sheet language? I bet most do, I did until a read the above by chance.
Do you know of any more such "hidden" requirements in the HTML/XHTML/CSS specs?
Andreas
Authors should use the META element to set the default style sheet language for a document. For example, to set the default to CSS, authors should put the following declaration in the HEAD of their documents:<META http-equiv="Content-Style-Type" content="text/css">
The default style sheet language may also be set with HTTP headers. The above META declaration is equivalent to the HTTP header:
Content-Style-Type: text/css