A generic division

div

The div element is an all-purpose grouping mechanism for positioning, sizing, boxing and styling.

It may be used wherever such needs cannot be met by its more specific cousins: the "article", "section" and "aside" elements.

Example

article {
h1 Moon landing
div {
Contents
ol {
li Crewed landings
li Scientific background
li Political background
}
}
section {
h2 Crewed landings
...
}
section {
h2 Scientific background
...
}
section {
h2 Political background
...
}
}
The div element
0

semantax > structure > divA generic division

🔗 🔎