What does <div> do? | Sololearn: Learn to code for FREE!

0

What does <div> do?

8/9/2015 4:00:00 AM

Kyla Elefan

5 Answers

New Answer

+2

its like a wraping paper which wraps the elements in this

+1

http://www.tutorialspoint.com/html/html_div_tag.htm

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