W3C home > Mailing lists > Public > www-validator@w3.org > May 2010

Validating my page

From: <support@mobile-cocktailbars.com>
Date: Mon, 31 May 2010 11:38:44 +0200 (CEST)
to: ww-validator@w3.org
Message-Id: <20100531093845.1B8B0C58075E@dd17516.kasserver.com>
Validating http://www.mobile-cocktailbars.com


Can someone explain me this error?

Line 217, Column 31: document type does not allow element "SCRIPT" here

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).

Thank you very much!
Received on Monday, 31 May 2010 15:22:03 UTC

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