I have made this HTML5 structure for a new website i am working on. I'd like to know if there is a more elegant approach to do it.
Here is the Wireframe: http://i45.tinypic.com/2qiclci.jpg
1) Is the wrapper for the two column considered bad practice?
2) Should the secondary navigation on the left be an article or a div?
Any other feedback are appreciated. Thanks for your time.
<body>
<header class="main">
<p>header</p>
</header>
<div class="wrapper">
<!-- Column left -->
<section class="column_left">
<header>
<article>
<h1>H1 title</h1>
<p>Lorem ipsum dolor sit amen lorem ipsum dolor sit amen</p>
</article>
</header>
<nav class="main">
<ul>
<li>- main navigation</li>
<li>- main navigation</li>
<li>- main navigation</li>
</ul>
</nav>
<div class="uploadyourphoto">
<p>button call to action</p>
</div>
<article class="secondarynav">
<h2>Title h2 secondary menu</h2>
<ul>
<li>navigation</li>
<li>navigation</li>
<li>navigation</li>
</ul>
</article>
<article class="secondarynav">
<h2>Title h2 secondary menu</h2>
<ul>
<li>navigation</li>
<li>navigation</li>
<li>navigation</li>
</ul>
</article>
</section>
<!-- Content -->
<section class="main">
<header class="slideshow">
<p>slideshow widget</p>
</header>
<article class="review">
<p>review widget</p>
</article>
<article class="product_grid">
<h2>product grid title</h2>
<p>Text text text lorem ipsum dolor sit amen </p>
<article class="products">
<ul>
<li>product 1</li>
<li>product 2</li>
<li>product 3</li>
</ul>
</article>
</article><
<article class="product_grid">
<h2>product grid title</h2>
<p>Text text text lorem ipsum dolor sit amen </p>
<article class="products">
<ul>
<li>product 1</li>
<li>product 2</li>
<li>product 3</li>
</ul>
</article>
</article>
</section>
</div>
<div class="clearfix">/div>
<!-- footer -->
<footer>
<div>footer</div>
</footer>
</body>
Should the secondary navigation on the left should be a as well instead of an article or a div?
are you referring to the wireframe instead of an article or a div? – Ryan Gates Feb 1 at 14:43.main
the site navigation? Is.secondarynav
some kind of "See also" or is it a sub-menu of the global nav? – unor Feb 2 at 7:21