+ 3

What is the use of div in html and what is the meaning of it?

1st Mar 2017, 5:44 PM
IBRAHIM SULE UDI 🇳🇬
IBRAHIM SULE UDI 🇳🇬 - avatar
2 Answers
+ 13
The <div> element is a block-level element that is often used as a container for other HTML elements. When used together with some CSS styling, the <div> element can be used to style blocks of content:
1st Mar 2017, 7:23 PM
Shehab Amr
Shehab Amr - avatar
+ 6
The div is a block element meaning the element which is contained in full of the screen width by default. We use it to separate sections of a document. It is definitely the most used element in html (yet)
1st Mar 2017, 5:58 PM
Patrik Sokol
Patrik Sokol - avatar