Do we put pagination links in html lists like for instance we do it with navigation links?
+1
A:
Anything that's a list should be marked up as a list — including a list of navigation links for pagination.
VoteyDisciple
2010-10-12 01:46:41
Just to play devils advocate, I'd like to hear a little more insight. Is a set of numbered page links really a list? If so, is it a `ul` or `ol`. Although I agree with the semantics of an `ol`, the rendered HTML does look a little funny as 1. 1, 2. 2, etc.
Jason McCreary
2010-10-12 01:50:38
Well, the **rendered** HTML obviously depends entirely on the CSS rules applied. I agree that the default rendering would be a bit silly, though; this is a case where I'd probably favor a `ul` for that reason — especially since some of the list elements are likely things like "First" and "Next" which are not really part of the ordered sequence.
VoteyDisciple
2010-10-12 01:53:51