HTML: / Home / DivTag

The Division Element

The Division element defines a division or section in an HTML document. It begins with the <div> tag and ends with the </div> tag.

The Division element is a block-level element. For more information, See the Display Types page.

  <div>
    <p>A paragraph element inside a division element.</p>
  </div>

The Division element is used as a container for other HTML elements.

The Division element is often used to apply presentation styles to a block of elements. Presentation styles are applied with CSS which is covered in the next tutorial.

More about Files

<- DisplayTypes            Span ->
19DivTag