Why to use div tag ? N div tag means? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why to use div tag ? N div tag means?

<div class="section">

20th Dec 2017, 11:00 AM
rajmit kevadiya
rajmit kevadiya - avatar
4 Answers
+ 5
Tag <div> It is necessary to store all the tags in one container, with another word <div> this is the container with which you can drag tags, also give them classes, and since <div> is the father of tags, html5 has come to replacing the <div> tag with the <aside> tag
20th Dec 2017, 11:06 AM
James16
James16 - avatar
+ 1
it defines a section or you can say container you can add additional feature using this in html my answer 😳😳
20th Dec 2017, 11:02 AM
Hack Erer
Hack Erer - avatar
0
It is widely used To make different sections on the document. But in HTML5 we use <section> instead of <div> tag. Although you can use div tag to separate section content as well. Maybe I answered your question. :)
23rd Nov 2021, 7:49 PM
Chris
Chris - avatar