[whatwg] About Descendent Tags
diegoeis at gmail.com
Tue Apr 7 05:46:27 PDT 2009
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.
When I write HTML or XHTML, the strutucture look like this:
With HTML5 header element, I can't do this. The structure above have a
good semantic. The obviously don't be the same code, but using the
header element and not div#header?
Forgive if this question pass to here in other time. I realy want to
know and discuss this point.
More information about the whatwg