Why it is used? When? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why it is used? When?

I want to know the exact purpose of this tag in html: <div> And its relevent codes

26th May 2020, 5:14 AM
Zinnur Rahman
Zinnur Rahman - avatar
2 Answers
0
Tom Joney (TheCoder) Have seen it, but dont understand it
26th May 2020, 5:24 AM
Zinnur Rahman
Zinnur Rahman - avatar
0
The div element helps you group your code such that you can apply a certain formatting to all the codes inside that particular div element
26th May 2020, 5:30 AM
Derrick Zziwa
Derrick Zziwa - avatar