<div> tag | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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
1 Answer
+ 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 - avatar