[whatwg] About Descendent Tags

Diego Eis diegoeis at gmail.com
Tue Apr 7 06:22:24 PDT 2009


> The header element is not for the page header, it is for grouping section
> headings, and the tag name chosen for this element is misleading.
This is a group of headings?
<header>
<h1>title</h1>
<h2>title2</h2>
<h3>title3</h3>
</header>

If yes, my question is: when I will use this?

Like I say: all pages have a header section. We write this header
section with div element and class or id attribute.
So, I write this to be more correct code?
<div id="header">
 <header>
   <h1>logo</h1>
 </header>
 <nav>
   <ul menu>
 </nav>
</div>

No sense the header and h1 like your descendant.

thanks advanced
Diego Eis



On Tue, Apr 7, 2009 at 9:52 AM, Kristof Zelechovski
<giecrilj at stegny.2a.pl> wrote:
> The header element is not for the page header, it is for grouping section
> headings, and the tag name chosen for this element is misleading.
> HTH,
> Chris
>
>
>
>



More information about the whatwg mailing list