<div>
HTML <div> Element Reference
The HTML <div> element is a generic flow container used when no more meaningful element applies.
Categories
- Grouping content
Tag omission
Consult the HTML Living Standard for the precise tag-omission rules.
Content model
- Detailed content-model guidance will be added to this reference.
Attributes
Examples
Example
A practical div element example.
<div class="card">
<h2>Tool name</h2>
<p>Tool description</p>
</div>