+ 1

<div> tag

<div> why should required in html. https://code.sololearn.com/WMpRq7Jrgj1V/?ref=app

5th Jan 2018, 4:46 PM
Hemal kaklotar
Hemal kaklotar - avatar
2 Answers
+ 4
It is a container that can encapsulate multiple tags. For eg: you can add style to many elements by using this tag and defining the class/Id in CSS.
5th Jan 2018, 5:41 PM
Harsh
Harsh - avatar