- From: Karl Dubost <karl@w3.org>
- Date: Wed, 3 Apr 2002 19:24:13 -0500 (EST)
- To: www-validator@w3.org, www-validator-css@w3.org
I have found something, maybe already known, The HTML validator and
the CSS validator can't detect this file is wrong :
http://www.la-grange.net/2002/04/03-styleatt-wo-meta
This file has a style attribute style="color: green; border: solid
red;" but no metaname specifying the default stylesheet language. So
by definition, the file is not a valid one :
HTML 4.01 says in the chapter "Style Sheets in HTML documents
(14.2.1)" [1] "Documents that include elements that set the style
attribute but which don't define a default style sheet language are
incorrect."
2002-04-03 The HTML validator says the file is valid.
2002-04-03 The CSS validator does not find any style and says there
are no errors.
[1] http://www.w3.org/TR/1999/REC-html401-19991224/present/styles.html#h-14.2.1
--
Karl Dubost / W3C - Conformance Manager
http://www.w3.org/QA/
--- Be Strict To Be Cool! ---
Received on Monday, 8 April 2002 16:43:10 UTC