Semantic HTML improves SEO ranking and assists screen readers for accessibility.
HTML Tutorial
HTML Tutorial
HTML Home
HTML Introduction
HTML Editors
HTML Basic Examples
HTML Elements
HTML Attributes
HTML Headings
HTML Paragraphs
HTML Styles
HTML Text Formatting
HTML Comments
HTML Colors
HTML CSS
HTML Links & Hyperlinks
HTML Images
HTML Tables
HTML Lists
HTML Block and Inline Elements
HTML Div
HTML Classes
HTML Id Attribute
HTML Iframes
HTML JavaScript Integration
HTML Responsive Web Design
HTML Semantic Elements
HTML Graphics & Media
Advertisement
Google AdSense Slot (LEADERBOARD)
Automated High-CTR Ad Rail • Set Publisher ID in config/adsense.php
SEO & A11y
6 min read
•
Chapter 25 of 32
HTML Semantic Elements
A semantic element clearly describes its meaning to both the browser and the developer (<header>, <nav>, <main>, <section>, <article>, <aside>, <footer>).
Example
<!DOCTYPE html>
<html>
<head><style>header,nav,main,footer{padding:10px;margin:4px;border-radius:6px;}header{background:#2563eb;color:white;}main{background:#f1f5f9;}footer{background:#0f172a;color:white;}</style></head>
<body>
<header><h3><header> BizToolHub Academy</h3></header>
<nav><nav> Navigation Strip</nav>
<main><main> Primary Document Content</main>
<footer><footer> Copyright 2026</footer>
</body>
</html>
Try it Yourself >>
Opens live sandboxed code editor
Advertisement
Google AdSense Slot (IN-ARTICLE)
Automated High-CTR Ad Rail • Set Publisher ID in config/adsense.php
Community Q&A & Discussion
Verified
No questions yet. Be the first to start the discussion!