Learn HTML
Build structured pages.
> Use semantic HTML to describe page regions and content.
**Category:** HTML | **Lesson:** 15 of 40
## Semantic HTML
Semantic elements communicate content purpose to browsers, assistive technologies, and developers.
## Common elements
– header: introductory content for a page or section.
– nav: a major navigation block.
– main: primary document content; normally one visible main landmark.
– section: thematic grouping, usually with a heading.
– article: self-contained content that can stand independently.
– aside: complementary content.
– footer: footer information for a page or section.
## Example
“`html
Build structured pages.
“`
## Section versus div
Use section for a meaningful thematic group. Use div as a generic container when no semantic element fits.
## Practice
Convert a page made entirely with div elements into a semantic layout.
Explore practical IT training at Cyber Code Academy.
View Academy Courses