Glossary · Beginner
Semantic HTML
Semantic HTML uses elements according to their defined meaning so document structure and interactions remain understandable.
- Author
- Editorial team
- Reviewer
- Publication review pending
- Review tier
- annual
Definition
Semantic HTML means choosing elements for their defined purpose. A real button
communicates and provides button behavior; a styled generic container does not
automatically gain that contract.
Practical test
Remove the stylesheet and inspect the document order, headings, lists, links, controls, and landmarks. The content and available actions should still make sense.