W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2008

[whatwg] Pagination Was: article: do we really need this?

From: Leons Petrazickis <leons.petrazickis@gmail.com>
Date: Fri, 22 Feb 2008 09:14:13 -0500
Message-ID: <5b04ec2d0802220614i287aba2ao874bae56210ff7d5@mail.gmail.com>
On 2/21/08, Ian Hickson <ian at hixie.ch> wrote:
>
> I think it is likely blog templates will use it correctly most of the
>  time, which would cover many uses of this element. I think the use cases
>  for <section> and <article> are quite distinct, and that trying to merge
>  them would hurt both elements on the long run.

Has pagination been addressed? Would the suggested way to mark up this:

[ 1 ] [ 2 ] [ 3 ] [ 4 ] ...

or this:

<<First <Prev 1 2 ... 30 31 Next> Last>>

be a <ul> in a <nav> element?


Also, I am not sure what the overall page markup would be. <article>
requires a stand-alone document, while <section> is more generic but
gives "chapters" as an example usage.

Option 1:

<article id="page2">
Lorem ipsum.

<nav><ul id="pagination">...</ul></nav>
</article>

Option 2:

<section id="page2">
Lorem ipsum.

<nav><ul id="pagination">...</ul></nav>
</section>

Option 3:

<article>
<section id="page2">
Lorem ipsum.

<nav><ul id="pagination">...</ul></nav>
</section>
</article>

Is any of these options the recommended one?


Regards,

Leons Petrazickis
http://lpetr.org/blog/
Received on Friday, 22 February 2008 06:14:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:39 UTC