Re: suggestion for abolition of <hgroup>

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