W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2009

[whatwg] Question on (new) header and hgroup

From: Kornel Lesinski <kornel@geekhood.net>
Date: Sat, 06 Jun 2009 14:02:41 +0100
Message-ID: <op.uu3s6rb3ptj49s@aimac.local>
On Sat, 06 Jun 2009 04:00:28 +0100, Ian Hickson <ian at hixie.ch> wrote:

> I don't think <hgroup> will be used often enough to justify calling it
> just <h>.

Ok, but what about <subheader>? (<subtitle>, <tagline>?)

The purpose of <hgroup> is to imply that <hx> is a subtitle. That's quite  
an indirection. An explicit element would be easier to understand:

<h1>Dr. Strangelove</h1>
<subheader>Or: How I Learned to Stop Worrying and Love the Bomb<subheader>

Also it could accept only phrasing content, so it would be easier for  
validators to catch when authors confuse it with <header>.

It doesn't require changes to styling of <hx>, and can be given  
appropriate size with "h1 + subheader" CSS selector.

regards, Kornel Lesinski
Received on Saturday, 6 June 2009 06:02:41 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:13 UTC