Monday, December 17, 2007

Paging - Ordered List (ol), Unordered List (ul), or what?

Does anyone have a stance on this?

It's pretty clear that there isn't a standard for this. Go to Google, Yahoo!, Ask, eBay, or Amazon, and you are going to see vastly different markup.

It's crazy how different it is. Some are ul, some are links, some are spans, some are h4s. What the H-E-(double-hockey-stick)?

I think it should be a list, but which one? It definitely is an ordered list as pages are in order but if the content is numbered it's kind of stupid. Particularly if the Previous/Next links are in the list. Then you'd get:

  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next

I'm going to use an unordered list for now. But I'd like to know what you think.

No comments: