This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The following is flagged as error. Content-Style-Type is allowed Error Line 6, Column 58: Bad value Content-Style-Type for attribute http-equiv on element meta. <meta http-equiv="Content-Style-Type" content="text/css">
(In reply to Joihannes from comment #0) > The following is flagged as error. Content-Style-Type is allowed > > Error Line 6, Column 58: Bad value Content-Style-Type for attribute > http-equiv on element meta. > > <meta http-equiv="Content-Style-Type" content="text/css"> Yeah, that's intentionally not allowed, because Content-Style-Type is not defined as a valid http-equiv value in the current HTML spec, and because it actually has no effect in any relevant UAs (the default styling language in all Web UAs/browsers is already CSS, and that's never going to change, so there's no point in using Content-Style-Type to specify the default styling language). You can eliminate the error by removing the <meta http-equiv="Content-Style-Type" content="text/css"> instance from the document.
That is all fine but please mark it as such in http://www.w3.org/TR/html401/interact/scripts.html#h-18.2.1 this bug report should be changed in document change ticket
(In reply to Joihannes from comment #2) > That is all fine but please mark it as such in > > http://www.w3.org/TR/html401/interact/scripts.html#h-18.2.1 That link's to the HTML4 spec, which isn't going to be updated, because it's been obsoleted by HTML5. If you want to validate your document against the latest version of HTML, you need to use the HTML5 spec and follow the requirements in it. Because that's what the HTML5 validator checks. If instead you want to check that your document against the requirements in the HTML4 spec, you can use the HTML4 validator to validate it.