HTML/Elements/div

From W3C Wiki
< HTML‎ | Elements
Revision as of 01:02, 1 February 2014 by Muchos (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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