Loading…
A short voice session: one question, one follow-up, then instant feedback — up to 5 minutes.
Semantic elements communicate purpose and can supply built-in behavior and accessibility information that a generic div does not provide.
main identifies the primary content, nav identifies a major navigation section, and article marks a self-contained composition. A button supplies native activation and keyboard behavior for an action. A div is useful for grouping without assigning a specific meaning. Choose elements according to their purpose, not their default appearance; CSS can change their presentation.