0

why we have to add a div tag around each section?

6th Jun 2020, 12:59 AM
Hira Anees
Hira Anees - avatar
1 Answer
+ 3
Hira Chaudhry I'm not sure who told you that but no you don't have to. <body> <h1> as a page head </h1> <article> <h2> article head </h2> <p>whatever you first paragraph is about </p> <p> second paragraph </p> and so on... <section> emphasize something of interest </section> </article> <aside> whatever you want to use aside for </aside> <section> maybe a brief summary of the article</section> <footer> all copyrite details </footer> </body>
6th Jun 2020, 1:14 AM
BroFar
BroFar - avatar