W3C home > Mailing lists > Public > public-html@w3.org > December 2010

Re: suggestion for abolition of <hgroup>

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 28 Dec 2010 20:35:07 +0000 (UTC)
To: David Carlisle <davidc@nag.co.uk>
cc: James Clark <jjc@jclark.com>, HTML WG <public-html@w3.org>
Message-ID: <Pine.LNX.4.64.1012282033440.27980@ps20323.dreamhostps.com>
On Tue, 28 Dec 2010, David Carlisle wrote:
> 
> But wouldn't you also (typically) be using <hgroup><h2>...</h2><h3>... in the
> same document for a level 2 heading (with subheading)
> and want to style a level 2 heading differently than a level 1 subheading?

Can you show me a page with two levels of subtitles?

If it really exists you can either use 

   hgroup > h1:first-child { ... }
   hgroup > h1 + h2 { ... }

...or use the <section> element so you can always use <h1>/<h2>.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 28 December 2010 20:35:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:17 GMT