How to Manage those Long Lists

By Robert Campbell on Thursday, April 29th, 2010 Print This Post
Previous: Content is Crap – Bells and Whistles are Everything
Next: Getting Subscribers is Easy for a Blog

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.

Get usability and design tips

Like this post? Get usability and design tips delivered by email straight to you. Full feed articles are delivered, and are managed by Google's Feedburner service.

10 Comments - Post Yours

Get a detailed anaylysis of your website: BWI's Web Usability and Design Analysis

Just Posted! Variable Email Form with Mailto

Popular

Category: Code Tags:

10 Comments on “How to Manage those Long Lists”

  1. nice tip! also maybe you can use html comments

  2. will they all will be catchable by the crawler. Anyways it is useful for long blogrolls

  3. at the right moment.. will try to use this… thanks for the tip.

  4. used tires says:

    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

  5. at the right moment.. will try to use this… thanks for the tip.

  6. will they all will be catchable by the crawler. Anyways it is useful for long blogrolls

  7. Bidet says:

    This is a nice tip and its easy to use for managing lists, thanks for sharing it.

  8. sisme bebek says:

    Great tip! Also maybe you can use html comments ;)

  9. sisme bebek says:

    Very innovative the way you do it ;)

  10. Won’t be indexed really crawlers don’t get that.

Leave a Comment

Subscribe without commenting

Return to top of page