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

Re: Why hgroup?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 10 Jan 2011 14:13:04 -0800
Message-ID: <AANLkTi=h-07-rM4FV4SwAsw6Y3a_vgYx=V19=W3fCkyf@mail.gmail.com>
To: Kornel Lesiński <kornel@geekhood.net>
Cc: public-html@w3.org, Anne van Kesteren <annevk@opera.com>
2011/1/10 Kornel Lesiński <kornel@geekhood.net>:
> Authors are free to use <div>, <header> or something else to style both
> title and subtitle together if needed:
>
> <section>
>        <header>
>                <h1>title</h1>
>                <subheading>subtitle</subheading>
>        </header>
>        …
> </section>

Indeed, authors are free to.  It comes for free with <hgroup>, though.
 It also seems to be likely to be pretty common to want to apply at
least some styles as a group.

~TJ
Received on Monday, 10 January 2011 22:13:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:18 GMT