Apr 292010
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″>
</ol>
Now you, or anyone else editing the code, knows what is what.
- April 29, 2010
- Posted by Robert Campbell at 3:30 pm
- Add comments
- Code
- lists

nice tip! also maybe you can use html comments
will they all will be catchable by the crawler. Anyways it is useful for long blogrolls
at the right moment.. will try to use this… thanks for the tip.
Very innovative the way you do it, luckily for me, I use Dreamweaver, and don’t often run into the lists problem while coding
Till then,
Jean
at the right moment.. will try to use this… thanks for the tip.
will they all will be catchable by the crawler. Anyways it is useful for long blogrolls
This is a nice tip and its easy to use for managing lists, thanks for sharing it.
Great tip! Also maybe you can use html comments
Very innovative the way you do it
Won’t be indexed really crawlers don’t get that.
will they all will be catchable by the crawler.
we can manage in better way through your tips,
your tips makes me happy
will they all will be catchable by the crawler. Anyways it is useful for long blogrolls
This is a nice tip and its easy to use for managing lists, thanks for sharing it.
at the right moment
When you have to make long list at that time you can use thi long list html code. This is very nice tips and also you can save your time.
Yeah i agree with you.According to me Small business management online requires that we use the proper business management techniques. There is a lot of competition when it comes in online business.
i know it.
Great tip friend. No doubt, I will be using this in my blog posts. Thanks indeed.
If you have a really long list adding those “name” things will bloat your code, but they sure have usability point.