WebAIM - Web Accessibility In Mind

E-mail List Archives

html sectioning elements

for

From: Angela French
Date: Apr 3, 2015 11:28AM


Hello,
I'm trying to wrap my head around the html 5 sectioning elements, specifically - header, section, article. I am seeing articles that contradict each other in the proper usage and order of these elements. I am interested in your opinions on:

Should the <header> element be nested within a <section> or preceding it? For example:

<header>
<h1>This is my top level heading</h1>
</header>
<section><p>paragraphs of content here</p></section>

Or:

<section>
<header><h1>top level heading</h1></header>
<p>paragraphs of content here</p>
</section>

In either case, the use of <header> seems redundant to be since <h1> seems to adequately communicates its purpose.

Thank you,




Angela French
Internet Specialist
State Board for Community and Technical Colleges
360-704-4316
<EMAIL REMOVED> <mailto: <EMAIL REMOVED> >
www.checkoutacollege.com<;http://www.checkoutacollege.com>;
www.sbctc.edu<;http://www.sbctc.edu>;