[whatwg] About Descendent Tags

On Tue, 7 Apr 2009, Diego Eis wrote:
>
> my name is Diego Eis. I'm from Brazil. Sorry for my bad english, ok? :D 
> I have a website about web standards in pt-br called Tableless.com.br. 
> And I have a little question.
> 
> I have read some HTML5 articles and the specifications in WHATWG 
> website. I read, for example, the element 'h3' or others headers not 
> appear as a descendant of the 'footer' element. And I see also the 
> element 'nav' must not appear as a descendant of the header element. I 
> don't understand why. The obviously for me when I use the element 
> header, I say to browsers that element is a header and all elements 
> descendant are components of this header.

I've allowed <nav> in <header> now.

If you need a heading in your footer, though, just use <section>.


> When I write HTML or XHTML, the strutucture look like this:
>
> <div id="header">
>    <h1>logo</h1>
>    <ul menu>
>    <form search>
> </div>
> 
> With HTML5 header element, I can't do this.

You now can.


On Tue, 7 Apr 2009, Kristof Zelechovski 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.

I've renamed the old <header> to <hgroup>.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 30 April 2009 12:11:17 UTC