
September 1st, 2010, 02:50 PM
|
|
Contributing User
|
|
Join Date: Aug 2010
Posts: 45
Time spent in forums: 4 h 35 m 24 sec
Reputation Power: 2
|
|
|
Validator.w3.org won't validate nested ul
I have read on here that properly formatted html is a good idea. I am trying to validate my new site, and have run into an error I cannot figure out how to fix.
We have a section like so:
Code:
<ul>
<li><a href="">category 1</a> - category 1 items</li>
<ul>
<li><a href="">category 2</a> - category 2 items</li>
<li><a href="">category 3</a> - category 3 items</li>
</ul>
</ul>
I am getting an error:
Line 364, Column 11: document type does not allow element "ul" here; assuming missing "li" start-tag
|