"Conan, what is best in life?"
and of course "Crush your enemies, see them driven before you and hear the lamentation of the women"
The body element has ALWAYS ( not just in HTML5 been the default container element ( tho I suppose technically The HTML element is the ROOT element of a page)
If you are adding HOOKS FOR CSS , which have no semantic meaning, using a DIV would be appropriate. But as we know we shouldn't add hooks unless absolutely necessary.
so something like :
Code:
<body>
<div id="page">
<div id="links"><nav><ul><li><a href="#">some link</a></li></nav></ul></div>
</div>
</body>
would justifiably bring about the wrath of deathshadow60!
NOW
If you werent talking about ALL your HTML and just what your main content is. you could consider SECTION/ ARTICLES as recursive semantic elements
Code:
<body>
<header></header>
<nav>
<ul>
<li><a></a></li>
<li><a></a></li>
</ul>
</nav>
<section id="content">
<section id="main">
<article>
<header></header>
<p></p>
<article>
<article>
<header></header>
<p></p>
<article>
<article>
<header></header>
<p></p>
<article>
</section>
<section id="sec">
<article>
<header></header>
<p></p>
<article>
<article>
<header></header>
<p></p>
<article>
</section>
</section>
<aside>
<article>
<header></header>
<p></p>
<article>
<nav> <a>links?</a></nav>
</aside>
<footer>
<article>
<header></header>
<p></p>
<article>
<footer>
Keep in mind you dont need to SECTION everything... that would be akin to divitis.
that is the GENERAL GIST. Again the CONTENT and ITS MEANING determine on an individual case what is semantically correct.
Bookmarks