0
What does <div> do?
4 Answers
0
explain more
- 1
It is used as a container for other elements. For example if you want to write two identical stories using tags such as <h1> for the headline, <p> for the text and <img> to include images, you have to put each story in a <div>. Imagine the <div> as a box which contain any element you want.
- 1
div tag divide page in division. it is a block level element