Re: Why hgroup?

Leif Halvard Silli, Sat, 8 Jan 2011 13:06:14 +0100:
> Steve Faulkner, Thu, 6 Jan 2011 18:17:59 +0100:
>> 
>> What advantages does <hgroup> offer over a <subtitle> or <subheading> 
>> or <whatever> element?
>> 
>> <h1>heading</h1>
>> <whatever>subtitle</whatever> 

[ snip ]

5) Another advantage: saying that <h>/<hgroup> can only contain 
<h[1-6]> elements does have the advantage that legacy user agents will 
not treat any of <hgroup>'s content as "content". In contrast, 
<whatever> would be tretead as content rather than as heading, by 
legacy user agents.
-- 
leif halvard silli

Received on Sunday, 9 January 2011 00:04:44 UTC