Warning:
This wiki has been archived and is now read-only.

Elements/div

From HTML Wiki
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.