What is the use of <div> tag and how it perform on webpage | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What is the use of <div> tag and how it perform on webpage

24th May 2017, 12:37 PM
Shaswat Singh
Shaswat Singh - avatar
2 Answers
+ 2
div is generic block type container. that means you can use it according to your needs. if you doesn't care about semantics then you can use it anywhere you want.
24th May 2017, 12:57 PM
Keshave Jat
Keshave Jat - avatar
- 1
div is a block line element....it is very help full in html if you seacrch sbout it
24th May 2017, 4:10 PM
Zeeshan Salam
Zeeshan Salam - avatar