+ 1
Why does we use this tag ?
4 Answers
+ 8
You define different class/id of block of html tags. To style it in css or do advanced stuff in js and so one. So div is used like container of html tags. You can separete parts of site with div to style it easely. Name of class/id is what you choose.
+ 6
Using the class in div,we can create different type of shapes,,it is also useful in making animations..
+ 3
<div> tag is used to make Web page sections!