What does the <div> tag do? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What does the <div> tag do?

4th May 2020, 3:14 PM
Eleberi victor
Eleberi victor - avatar
4 Answers
+ 1
By using div tag you can divide your webpage in different sections. It is like a container that holds 1)Button. 2)Text Box. 3)Text. ...... etc
4th May 2020, 3:17 PM
Dasarath Singh
+ 1
The div tag is only a container we can modify it as we want with css
4th May 2020, 3:16 PM
HEUBA BATOMEN Franck Duval
HEUBA BATOMEN Franck Duval - avatar
+ 1
Yes div tag can contain anyother html tag
4th May 2020, 3:22 PM
HEUBA BATOMEN Franck Duval
HEUBA BATOMEN Franck Duval - avatar