Re: Why hgroup?

So sibling selectors are not good enough for CSS/JavaScript & shared classes for CSS ?

What CSS/JavaScript operations are made easier and what is the likely frequency of their use?

i.e. Is there a reasonable tradeoff between providing a clearer semantic and the suggested advantages of hgroup?

Regards
Stevef 

On 6 Jan 2011, at 18:55, "Anne van Kesteren" <annevk@opera.com> wrote:

> On Thu, 06 Jan 2011 18:17:59 +0100, Steve Faulkner <faulkner.steve@gmail.com> wrote:
>> What advantages does <hgroup> offer over a <subtitle> or <subheading> or <whatever> element?
>> 
>> <h1>heading</h1>
>> <whatever>subtitle</whatever>
> 
> It's much more clear which two elements are tied and you can more easily treat them as a single unit from a CSS/JavaScript perspective.
> 
> 
> -- 
> Anne van Kesteren
> http://annevankesteren.nl/

Received on Thursday, 6 January 2011 18:08:16 UTC