+ 2

What is the work of this tag<div> in HTML

18th Jul 2019, 9:24 PM
ugwu ebuka
12 ответов
+ 5
its a container think like a box that you can put stuff(html elements) inside. In some part of Html5 document div tag are change with sections like aside navbar articles etc.
19th Jul 2019, 2:14 AM
Danielov
Danielov - avatar
+ 13
It acts like a container for other html elements.
18th Jul 2019, 9:39 PM
Mitali
Mitali - avatar
+ 11
You put other elemets inside it.
18th Jul 2019, 9:49 PM
Mitali
Mitali - avatar
+ 3
<class>
18th Jul 2019, 9:50 PM
ugwu ebuka
+ 3
There should be an example in the html tutorial i think.
19th Jul 2019, 2:38 AM
Sonic
Sonic - avatar
+ 2
How
18th Jul 2019, 9:47 PM
ugwu ebuka
+ 2
What of class?
18th Jul 2019, 9:50 PM
ugwu ebuka
+ 1
It's a Division Tag that acts as a container that divides different parts of a element like name, content, images, etc. I hope it helps😊
19th Jul 2019, 7:06 AM
Shubham Dwivedi
Shubham Dwivedi - avatar
+ 1
By Meaning DIV Tag Stands for Division, It's Block Level Element, and is Known as Non sementic tag, the philosophy behind this tag is simple "Divide the Web Page" Thank you
14th Aug 2019, 4:16 AM
Hamad
Hamad - avatar
0
You can divide your code in different blocks using <div> for ease of accessing.
19th Jul 2019, 7:21 AM
RAJAT SAXENA
RAJAT SAXENA - avatar
0
It is used as a container to contain an element or elements
14th Aug 2019, 8:26 PM
Ogharandukun Brown Meyiwa Louis
Ogharandukun Brown Meyiwa Louis - avatar
0
To define a class or id to any element
31st Oct 2019, 11:19 AM
Nikhil Parmar
Nikhil Parmar - avatar