Having trouble fixing validation errors
-
Below are examples of some of the validation errors I am getting for my site (https://www.popontherocks.net) that I can’t figure out how to fix. I don’t even know where this is in the code… can someone help me figure it out?
______
Error Line 185 column 21: unclosed start-tag requires SHORTTAG YES.
<li id=”linkcat-1″<h2>Blogs</h2>
Error Line 185 column 21: document type does not allow element “li” here; missing one of “ul”, “ol”, “menu”, “dir” start-tag.
<li id=”linkcat-1″<h2>Blogs</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 “” or “<table>”) inside an inline element (such as ““, “<span>”, or “<font>”).
Error Line 196 column 19: unclosed start-tag requires SHORTTAG YES.
<li id=”linkcat-6″<h2>Books</h2>
Error Line 196 column 19: document type does not allow element “li” here; missing one of “ul”, “ol”, “menu”, “dir” start-tag.
<li id=”linkcat-6″<h2>Books</h2>
________
- The topic ‘Having trouble fixing validation errors’ is closed to new replies.