1: Always Close Your Tags
Back in the day, it wasn’t uncommon to see things like this:
<li>Some text here.
<li>Some new text here.
<li>You get the idea.
<li>Some new text here.
<li>You get the idea.
Notice how the wrapping UL/OL tag was omitted. Additionally, many chose to leave off the closing LI tags as well. By today’s standards, this is simply bad practice and should be 100% avoided. Always, always close your tags. Otherwise, you’ll encounter validation and glitch issues at every turn.
Better
<ul>
<li>Some text here. </li>
<li>Some new text here. </li>
<li>You get the idea. </li>
</ul>
<li>Some text here. </li>
<li>Some new text here. </li>
<li>You get the idea. </li>
</ul>
Source: nettuts.com









