How to Manage those Long Lists

Here is an easy one. Everyone loves lists right? Well, where I work numbered lists are a daily occurrence, and those lists are often more than 10 items long. What makes them even crazier, being one that prefers notepad to make edits, is when a client asks me to update “number 8” with new content. Trying to figure out which one is which, referencing only <li> can be a pain.

So an easy fix is to give that list element a name. Try this:

<ol name=”long list”>
<li name=”1″>
<li name=”2″>

Now you, or anyone else editing the code, knows what is what.


Add a Comment

Your email address will not be published. Required fields are marked *