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

What does the <div> tag mean

26th Mar 2017, 5:09 AM
tb.vista
2 Answers
+ 8
The <div> element is a block-level element: which means it is used as a container for other HTML elements; e.g. You can put tables, paragraphs, spans, images, etc inside the <div> tag.
26th Mar 2017, 5:18 AM
MIZO PRO (ハムザ)
MIZO PRO (ハムザ) - avatar
+ 2
Div tag is just like a box or container you can store anything inside the div tag you can store inside the div tag table, other div, body content, footer etc.
26th Mar 2017, 7:43 AM
Fatihullah Noory
Fatihullah Noory - avatar