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.
Comments
Post a Comment