- From: Liam Quinn <liam@htmlhelp.com>
- Date: Tue, 28 Oct 2003 22:02:59 -0500 (EST)
- To: Gavin Lambert <gavinl@compacsort.com>
- Cc: www-validator@w3.org
On Wed, 29 Oct 2003, Gavin Lambert wrote: > I just tried the validator at <http://validator.w3.org/check>, and it > seems to have a bug: > > I'm doing an HTML 4.01 Transitional validation, and it claims "document > type does not allow element "STYLE" here". > > "Here", in this case, being inside the <HEAD> element. Of course, > according to section 14 of the HTML 4.01 spec, that's where it should > be. > > Things just go downhill from there, as the next error I get is "end tag > for element "HEAD" which is not open"; reacting to closing the HEAD > element after closing the STYLE element (which is, I repeat, directly > contained in the HEAD element). It would be easier to diagnose if you provided the URI of an example. I'd guess that you're ending the HEAD element before the STYLE element by using loose text or XML syntax for empty tags. (Don't use XML syntax in HTML 4.) -- Liam Quinn
Received on Tuesday, 28 October 2003 22:05:57 UTC