From W3C Wiki
< HTML‎ | Elements
Jump to: navigation, search


The <div> element has no special meaning at all.


  • It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements.
  • When no other element is suitable, the <div> element is used as an element of last resort. Otherwise, it leads to poor accessibility for reader.

HTML Attributes

See global attributes.

HTML Reference

The HTML5 specification defines the <div> element in 4.5.13 The div element.

See also

Generic containers - the div and span elements