Which HTML syntax is correct when nesting unordered lists?
<UL>
<LI>Top Level List Item[red]</LI>[/red]
<UL>
<LI>Second level</LI>
</UL>
</UL>
OR...
<UL>
<LI>Top Level List Item
<UL>
<LI>Second level</LI>
</UL>
[red]</LI>[/red]
</UL>
Both seem to yield the same results, but I'm just wondering if one is more accepted.
<UL>
<LI>Top Level List Item[red]</LI>[/red]
<UL>
<LI>Second level</LI>
</UL>
</UL>
OR...
<UL>
<LI>Top Level List Item
<UL>
<LI>Second level</LI>
</UL>
[red]</LI>[/red]
</UL>
Both seem to yield the same results, but I'm just wondering if one is more accepted.