<div> | Sololearn: Learn to code for FREE!



Why use use <div> tag & it is empty tag or not?

12/26/2017 11:37:45 AM

Master Mayank

6 Answers

New Answer


really! but why this is used


<div>tag is a container used to group elements and apply styles together.


no it isn't an empty tag.


@mayank it is used for adding styles in html.


Why did you mark your own answer as best? 😂