W3C home > Mailing lists > Public > www-validator@w3.org > July 2012

[VE][64] Javascript error on HTML page

From: Herts Web Design <tom@herts-webdesign.co.uk>
Date: Mon, 2 Jul 2012 11:26:34 +0100
To: <www-validator@w3.org>
Message-ID: <000301cd583d$27b84710$7728d530$@co.uk>


We cannot validate this webpage due to 1 error we cannot seem to fix, any advice would be appreciated. Please see error below the website is www.herts-webdesign.co.uk 



Error Line 109, Column 36: document type does not allow element "p" here

            controlsBefore:   '<p id="controls">',

 <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.herts-webdesign.co.uk%2F;errmsg_id=64#errormsg> ‚úČ

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


Validating http://www.herts-webdesign.co.uk/ 
Error [64]: "document type does not allow element X here" 





Tom Roberts


Affordable Web & Graphic Design | Peak House | Works Rd | Letchworth Garden City | Hertfordshire | SG6 1GB

Tel: 0800 689 9202



(image/png attachment: image001.png)

Received on Monday, 2 July 2012 13:22:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:06 UTC