wordpress XHTML not compliant??
-
Hi struggling to get validation and have eliminated most of the issues. I changed back to the default worpress theme and that has me down to 3 errors copied below.
Don’t know much about code and having trouble working out how to fix these o why they need to be as I thought wordpress was xhtml comp.
Can anybody assist
This page is not Valid XHTML 1.0 Transitional!
Result: Failed validation, 3 Errors
Address:Validate error pages Verbose Output Clean up Markup with HTML Tidy
Help on the options is available.↑ Top
Validation Output: 3 Errors
Line 154, Column 22: document type does not allow element “div” here; assuming missing “li” start-tag .
<div id=’error’>?
Line 158, Column 7: document type does not allow element “li” here; missing one of “ul”, “ol”, “menu”, “dir” start-tag .- <h2>Meta</h2>?
The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.One possible cause for this message is that you have attempted to put a block-level element (such as “<p>” or “<table>”) inside an inline element (such as ““, “<span>”, or “<font>”).
Line 167, Column 9: end tag for “li” omitted, but OMITTAG NO was specified .
?
You may have neglected to close an element, or perhaps you meant to “self-close” an element, that is, ending it with “/>” instead of “>”.Line 154, Column 7: start tag was here .
<div id=’error’>
- <h2>Meta</h2>?
- The topic ‘wordpress XHTML not compliant??’ is closed to new replies.