This 3 part question came about from an example I'm working on, and random pieces of HTML5 I've acquired (my ducks aren't really in a row).
Here's an example from a book I'm working out of. It uses a <div="main"> to wrap content. Is this some xHTML tomfoolery?
Could I just replace this with <section id="main"> and wrap the section there or would that be misusing the section tag? In other words does the section tag just replace the way people used to divide sections with div tags and give them IDs?
Other question is how does the section tag interact with heading level tags? I think I understand you would divide sections the way you used to with h tags so
-sub sub point 1(<h3>)
-sub sub point 2(<h3>)
-sub point 2(<h2>)
-another sub sub point(<h3>)
So if my understanding is correct - that's how it was. How is it now (how do section tags change that - do they replace the heading, do they interact with the heading?)
Here's the example with the <div id="main">
<title>The Dunbar Project</title>
<h1>The Dunbar Project</h1>
<h2>In the Shadow of Downtown Tucson</h2>
<li><a href="about/">About the Dunbar Project</a></li>
<li><a href="gallery/">Photo Galleries</a></li>
<h3>Welcome to the Dunbar Project Website</h3>
<img src="images/banner.png" alt="Dunbar School">
Dunbar school was completed in January 1918, for the purpose of educating Tucson's African-American students. The school was named after
<a href="poet.html">Paul Laurence Dunbar</a>, a renown African-American poet. African-American children in first through ninth grades attended
Dunbar until 1951, when de jure segregation was eliminated from the school systems of Arizona. When segregation in Arizona was eliminated,
Dunbar School became the non-segregated John Spring Junior High School, and continued as such unti 1987 when the school was closed permanently.
<!--More content ommited-->
<li><a href="plan/">The Dunbar Site Plan</a></li>
<li><a href="auditorium/">Dunbar Auditorium</a></li>
<li><a href="history/">School History</a></li>
<li><a href="proposal/">Project Proposal</a></li>
<li><a href="donors/">Dunbar Donors</a></li>
<li><a href="poet.html">About Paul Lawrence Dunbar</a></li>
<li><a href="links/">Related Links</a></li>
<li>The Tucson Urban League</li>
<li>The Dunbar Alumni Association</li>
<li>The Dunbar/Spring Neighborhood Association</li>
<li>The Juneteenth Festival Committe</li>
<ol> <!--List of donors Omitted--></ol>
The Dunbar Project is a 501c(3) organization, and your contributions are tax deductible.
Copyright © 2006 by the Dunbar Project. Questions? <a href="mailto:email@example.com">Mail the