Cyber Code Academy
Tutorials Academy Courses
Home / html-tutorials-md / HTML Semantic Elements

HTML Semantic Elements

> 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

Cyber Code Academy

Learn HTML

Build structured pages.

Copyright Cyber Code Academy

“`

## 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.

Want to learn this professionally?

Explore practical IT training at Cyber Code Academy.

View Academy Courses