+ 1

why we use <div> for?

I couldn't understand this part in html..so please someone help me

8th May 2017, 7:48 AM
Izaz Alam
Izaz Alam - avatar
6 Respuestas
+ 5
<div> tag is a block level semantic tag that help creating logical sections of the Web page. It better work when CSS is applied.
8th May 2017, 8:06 AM
देवेंद्र महाजन (Devender)
देवेंद्र महाजन (Devender) - avatar
+ 4
div means division. it grous all the elements inside it.
8th May 2017, 7:53 AM
MR Programmer
MR Programmer - avatar
+ 4
<div> <img ...../> </div> img is element of div.
8th May 2017, 7:55 AM
MR Programmer
MR Programmer - avatar
+ 3
welcome ....
8th May 2017, 7:56 AM
MR Programmer
MR Programmer - avatar
0
all elements? like what?
8th May 2017, 7:54 AM
Izaz Alam
Izaz Alam - avatar
0
ohh thanks
8th May 2017, 7:56 AM
Izaz Alam
Izaz Alam - avatar