html5/css- Element li not allowed as child of element div in this context. (Suppressing further errors from this subtree.) -


in html document, have <div class="text"> formated place text block, lists(ordered/unordered) validator found error: element li not allowed child of element div in context. (suppressing further errors subtree.)

what should change? class text formated in css , used on every subpage. changing <p> or <article> didnt validate.

thx4help

*edit-not article div

an

<li> 

element has inside an

<ul> or <ol> 

like this:

<ul>     <li>list item</li>     <li>list item</li> </ul> 

ul unordered list, while ol ordered list.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -