css - Best practices for HTML and divs -


i know best way of using html5 , div tags together. have posted html below.
using article tag have sections sure correct, using grids well, should put grid div?
method best way of doing it?

<article>   <div class="grid-wrapper">     <section>       <div class="grid-4-col">         <h1>welcome back</h1>        <p>it has been while. have been lately?</p>    </div> </section>  <section>   <div class="grid-4-col">     <h1>welcome back</h1>     <p>it has been while. have been lately?</p>   </div> </section>  <section>   <div class="grid-4-col">     <h1>welcome back</h1>     <p>it has been while. have been lately?</p>   </div> </section>  <section>   <div class="grid-4-col grid-last">     <h3>chicago</h3>     <h5 hidden>city in illinois</h5>     <img src="chicago.jpg" alt="chicago, third populous city in united states">     <ul>       <li>234 square miles</li>       <li>2.715 million residents</li>     </ul>   </div> </section> </div> </article> 

according html5doctor, way you've gone fine. you're using divs wrappers , that's permitted.

source: http://html5doctor.com/you-can-still-use-div/


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -