W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2012

Re: [whatwg] A plea to Hixie to adopt <main>

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 7 Nov 2012 22:41:57 +0000 (UTC)
To: Ben Schwarz <ben.schwarz@gmail.com>
Message-ID: <Pine.LNX.4.64.1211072240490.5442@ps20323.dreamhostps.com>
Cc: whatwg@whatwg.org
On Thu, 8 Nov 2012, Ben Schwarz wrote:
> 
> What does concern me, as a web builder, *every day*, is how I markup the 
> content in-between a <header> and a <footer>.

If you just want it for styling purposes, <div> is perfect.

> <article>
> <header>h1, h2, p</header>
> <div class="content"></div>
> <footer>time, a.permalink</footer>
> </article>

Exactly like that (or even without the class, if you just have one per 
article you can just do "article > div" to select it).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 7 November 2012 22:43:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT