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

Re: suggestion for abolition of <hgroup>

From: David Carlisle <davidc@nag.co.uk>
Date: Tue, 28 Dec 2010 16:57:22 +0000
Message-ID: <4D1A16F2.1050503@nag.co.uk>
To: Ian Hickson <ian@hixie.ch>
CC: James Clark <jjc@jclark.com>, HTML WG <public-html@w3.org>
On 26/12/2010 07:10, Ian Hickson wrote:

> For this markup:
>
>     <hgroup>
>      <h1>HTML</h1>
>      <h2>A markup language for the Web</h2>
>     </hgroup>
>
> ...a rule to style the subheading would be:
>
>     hgroup>  h2 { ... }

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?
>
> In practice there's no need for a generic solution since the author of the
> CSS also controls the markup.
>

David
Received on Tuesday, 28 December 2010 16:57:47 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:07 UTC