[whatwg] Question on (new) header and hgroup
Bruce Lawson
brucel at opera.com
Thu May 7 08:15:57 PDT 2009
I'm struggling to understand the reasons for <hgroup>: wouldn't one or
more h1..h6 elements wrapped in the same <header> imply just such a
grouping without the need for such an element?
To illustrate my query, what is the difference between
<header>
<h1>HTML 5</h1>
<h2>a new era of loveliness</h2>
<nav> ... </nav>
</header>
and
<header>
<hgroup>
<h1>HTML 5</h1>
<h2>a new era of loveliness</h2>
</hgroup>
<nav> ... </nav>
</header>
?
--
Bruce Lawson
Web Evangelist
www.opera.com (work)
www.brucelawson.co.uk (personal)
More information about the whatwg
mailing list