Re: Why hgroup?

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:00:09 UTC