Section, Article, Aside, and Div
| Element | Use |
|---|---|
<section> | Themed grouping of related content |
<article> | Standalone content block |
<aside> | Supporting or tangential content |
<div> | Generic container when no semantic element fits |
Rule of Thumb
Start with semantics. Use <div> only when you genuinely need a neutral wrapper.
What's Next
- Continue to 7. Forms and Inputs