W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2009

[whatwg] About Descendent Tags

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 30 Apr 2009 19:11:17 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0904301909310.18851@hixie.dreamhostps.com>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:11 UTC