How the <div> works? | Sololearn: Learn to code for FREE!


How the <div> works?

We have to add <div> in <body>. But why?

4/13/2018 7:27:23 AM

Rahil Mavani

2 Answers

New Answer


the div is a block level element,a container


Just think of the DIV element as a styleble contractor for grouping other elements.