HTML/Elements/div

From W3C Wiki
< HTML‎ | Elements
Revision as of 14:53, 22 July 2011 by Plehegar (Talk | contribs)

Jump to: navigation, search

<div>

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

Point

  • 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