0
What is <div>
What is div and also what are the attributes and itâs uses
2 Answers
+ 6
ADEBAYOR ABUBAKRI
The <div> element is a block-level container used to group a section/part of code. It is commonly used to apply css or js to a section of the page.
It stands for division and it can have several attributes such as id, class, style, title, hidden or any mouse/keyboard events such as onclick, on mouseover, etc.
+ 1
<div> is a block-level element which means division, is also a container tag