what do we call to <div> element ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what do we call to <div> element ?

7th Jun 2016, 7:36 PM
saurabh patel
saurabh patel - avatar
3 Answers
+ 1
you can group only block elements using "div" tag. for grouping other (inline) elements you will need 'span' tag. Most often these are used for styling using CSS
8th Jun 2016, 8:15 AM
Prince Raj
Prince Raj - avatar
0
This tag is mainly used for CSS formatting to group HTML elements
7th Jun 2016, 8:58 PM
srikanthkyasa
srikanthkyasa - avatar
0
thankew
8th Jun 2016, 6:20 AM
saurabh patel
saurabh patel - avatar