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

Ian Hickson ian at hixie.ch
Wed Nov 7 14:41:57 PST 2012


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list