[whatwg] About Descendent Tags
ian at hixie.ch
Thu Apr 30 12:11:17 PDT 2009
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">
> <ul menu>
> <form search>
> 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. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg