[html5] headers
Ian Hickson
ian at hixie.ch
Fri Mar 27 12:12:09 PDT 2009
On Fri, 27 Mar 2009, Stephen Stewart wrote:
>
> I was going to ask a question about the semantics and order of h1-6 headers
> within a header element but I think my particular issue is solved by this line
> in the spec:
> "Sections may contain headers of any rank, but authors are strongly encouraged
> to either use only h1 elements, or to use elements of the appropriate rank
> for the section's nesting level."
That's trying to refer to <section>s and <article>s and so forth -- within
<header> you should feel free to use any of them, the whole <header> then
acts like a single <h1> from a semantic standpoint.
There are a number of examples in the spec:
http://www.whatwg.org/specs/web-apps/current-work/#the-header-element
I'll add more later this year to clarify how <header> is used with
<article>.
HTH,
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the Help
mailing list