Name
div
Type
Grouping Element
Tag
Two-sided tag
Block/Inline
block
Definition
A generic grouping element
Book Page
21
Example
<div>content</div>
W3C
Div Reference
W3C Detail
The div can be used with attributes such as class, lang, xml lang, and title to add additional semantics and structure to flow content

Return to Web Design Elements