Use HTML and XHTML according to their respective specifications. <li>
elements should be contained only in <ol>
or <ul>
elements
Engine scans for li elements whose parent is not <ol>
or <ul>
element
Not using HTML according to the specification leads to confusion for user agents and assistive technologies that rely on correct semantic information to present a coherent representation of the page.