W3C home > Mailing lists > Public > www-validator@w3.org > April 2008

[VE][64] 2 Errors can't validate

From: Liza Thomas <liza@sokissme.net>
Date: Tue, 8 Apr 2008 07:36:41 +0100
To: <www-validator@w3.org>
Message-ID: <000001c89942$ed269880$c773c980$@net>
 

Validating http://icon-box.com/ 
Error [64]: "document type does not allow element X here" 

 

1.	ErrorLine 21, Column 38: document type does not allow element "style" here.

document.write('<style type="text/css">.tabber{display:none;}</style>');

 <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Ficon-box.com%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). 

2.	ErrorLine 135, Column 112: document type does not allow element "a" here.

…="http:/icon-box.com" target="_blank"><img src="http://i282.photobucket.com/a

 <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Ficon-box.com%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). 

 

 

Hope you can help! Thank you in advance. 







image001.png
(image/png attachment: image001.png)

Received on Wednesday, 9 April 2008 06:22:52 GMT

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