W3C home > Mailing lists > Public > www-validator@w3.org > August 2004

[VE][64] Error Message Feedback

From: Ryan Moulton <rmoulton@andrew.cmu.edu>
Date: Wed, 18 Aug 2004 19:33:47 -0400
Message-ID: <4123E75B.8030103@andrew.cmu.edu>
To: www-validator@w3.org

I've spent the last hour trying to figure out the source of this error:

/Line 16, column 7/: document type does not allow element "body" here

| <body*>*|

The element named above was found in a context where it is not allowed. 
This could mean that you have incorrectly nested elements -- such as a 
"style" element in the "body" section instead of inside "head" -- or two 
elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML 
documents. Due to HTML's rules of implicitly closed elements, this error 
can create cascading effects. For instance, using XHTML's "self-closing" 
tags for "meta" and "link" in the "head" section of a HTML document may 
cause the parser to infer the end of the "head" section and the 
beginning of the "body" section (where "link" and "meta" are not 
allowed; hence the reported error).

on this page: http://www.andrew.cmu.edu/user/rmoulton/contact.shtml

I'm just about at my wits end. I can't find anything whatsoever wrong 
with the page and its driving me crazy. I'd make more specific 
suggestions as to how the help text could be improved, but I can't find 
the source of the error so I'm not going to be much help.
Received on Wednesday, 18 August 2004 23:38:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:44 UTC