W3C home > Mailing lists > Public > public-html@w3.org > January 2011

Re: Why hgroup?

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Sun, 9 Jan 2011 01:04:03 +0100
To: Steve Faulkner <faulkner.steve@gmail.com>
Cc: HTML WG LIST <public-html@w3.org>
Message-ID: <20110109010403877508.507a1b93@xn--mlform-iua.no>
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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:21 UTC