<div>

The division element is a generic block-level container for flow content with no inherent semantics.

Since HTML 2.0 Spec ↗

Syntax

<div>...</div>

Examples

<div class="card">
  <h2>Title</h2>
  <p>Body text.</p>
</div>
Output
Renders a block-level container that stacks its heading and paragraph vertically.

Notes

Use <div> only when no semantic element (section, article, nav, main) fits. It carries no accessibility meaning on its own; add role and ARIA only when building custom widgets.

Browser & runtime support

EnvironmentSince version
chrome 1.0
firefox 1.0
safari 1.0
edge 12

See also