+ 2
What is the work of this tag<div> in HTML
12 Réponses
+ 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.
+ 13
It acts like a container for other html elements.
+ 11
You put other elemets inside it.
+ 3
<class>
+ 3
There should be an example in the html tutorial i think.
+ 2
How
+ 2
What of class?
+ 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😊
+ 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
0
You can divide your code in different blocks using <div> for ease of accessing.
0
It is used as a container to contain an element or elements
0
To define a class or id to any element