Support Forums

w3 validator error I can't solve...

This is a discussion on w3 validator error I can't solve... within the Off Topic forums, part of the General category; Here is the error: PHP Code: Line 9 ,  Column 41 :  document type does not allow element  "base"  here          < base href = "http://www.publito.com/"  /> The element named above was found in a context where it is not allowed ...


Go Back   68 Classifieds Forums > General > Off Topic

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-30-2010, 12:44 AM   #1
Customer
 
Join Date: Feb 2010
Location: Montreal, QC
Posts: 194
Rep Power: 7
EnergyFreak is on a distinguished road
Default w3 validator error I can't solve...

Here is the error:

PHP Code:
Line 9Column 41document type does not allow element "base" here
        
<base href="http://www.publito.com/" />

The element named above was found in a context where it is not allowedThis could mean that you have incorrectly nested elements -- such as "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 documentsDue to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML'"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 allowedhence the reported error). 
EnergyFreak is offline   Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with correcting warnings found with validator.w3.org damiun Templates, HTML, CSS, and Design Help 3 12-07-2009 08:40 PM
how to solve damage in the style Abdulaziz Technical Support 3 03-12-2009 10:58 AM


All times are GMT -4. The time now is 10:20 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0