HTML 5: The Markup Language

divgeneric flow container # T

The div element is a generic container for flow content that by itself does not represent anything.

Content model #

Attribute model #

Tag omission #

A div element must have both a start tag and an end tag.

Permitted contexts #

Typical default display properties #

div {
display: block; }

Details #

The div can be used with attributes such as class, lang/xml:lang, and title to add additional semantics and structure to flow content.