Usually when I code HTML5 documents I use the following syntax:
<header class="site-header">
<hgroup class="site-brand">
<h1 class="brand-name">
Brand Name
</h1>
<h2 class="brans-slogan">
Awesome Slogan
</h2>
</hgroup>
</header>
<article>
<header class="article-header">
<h1 class="article-title">Article Header</h1>
</header>
[... content ...]
</article>
It seemed to be header
the right tag for site header, but after reading the spec and outlining this code, I saw two drawbacks
header
tag make its content first level, and article title 2nd- Site headers might not contain headings at all, since its purpose is to tell the user who the page belongs to.
What would be the best approach?
) being the most important (usually page titles or heading)". How many page titles should your single html page have? Becuz u CAN do something, based off the evolving standard, doesn't mean you should and doesn't mean it is SEMANTICALLY STRUCTURED. http://bit.ly/cssdCC
– cliffbarnes Feb 01 '13 at 18:36