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

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.mobile-cocktailbars.com%2Fcocktailbar-anfrage-1.php;accept=text%2Fhtml%2Capplication%2Fxhtml%2Bxml%2Capplication%2Fxml%3Bq%3D0.9%2C*%2F*%3Bq%3D0.8;accept-language=de-de%2Cde%3Bq%3D0.8%2Cen-us%3Bq%3D0.5%2Cen%3Bq%3D0.3;accept-charset=ISO-8859-1%2Cutf-8%3Bq%3D0.7%2C*%3Bq%3D0.7

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:41 GMT