2 ms·
Not closing <li>s is much easier to maintain. Look at my web page for instance, https://ajf.me/ https://ajf.me/ It's not only easier, but more readable to do t
by TazeTSchnitzel 15y ago
Not closing <li>s is much easier to maintain. Look at my web page for instance, https://ajf.me/ https://ajf.me/
It's not only easier, but more readable to do this:
<ul>
<li>Item 1
<li>Another item
<li>Yet another item
</ul>
Than this:
<ul>
<li>Item 1</li>
<li>Another item</li>
<li>Yet another item</li>
</ul>
- halefx 15y agoIf your list is that simple, it takes no extra effort to add closing tags (especially if you're using a worthwhile IDE). If your list is more complicated, the closing tags will increase readability while decreasing ambiguity (and again they require no extra effort in a good IDE). This kind of thing might make sense for Google as a way to cut down on bandwidth costs over a long period of time, but it's a bad practice for 99% of the people reading it.