The h6
tag defines the lowest-level heading in HTML. It is used for the smallest sub-subsections, under h5
, to organize very detailed content.
✅ Basic Syntax
<h6>Additional Notes</h6>
📍 Result:
A small heading, typically the least prominent among heading tags.
📚 Heading Hierarchy
Complete heading levels in HTML:
<h1>Main Title</h1>
<h2>Section Title</h2>
<h3>Subsection Title</h3>
<h4>Detail Heading</h4>
<h5>Further Detail</h5>
<h6>Smallest Heading</h6>
<h6>
is for the finest subdivisions in content.- Useful in very complex or deeply nested documents.
🎯 Semantic Importance
- Helps keep the document’s structure clear and accessible.
- Supports screen readers in navigating detailed content.
- May have some SEO value in signaling detailed hierarchy.
🎨 Styling Example (CSS)
h6 {
font-size: 0.85rem;
color: #555;
margin-top: 10px;
margin-bottom: 5px;
font-style: italic;
}
⚠️ Best Practices
✅ Use for | ❌ Avoid |
---|---|
Deepest subheadings under <h5> | Skipping heading levels |
Small, descriptive headings | Using <h6> just for decoration |
✅ Summary
Feature | <h6> Tag |
---|---|
Purpose | Defines sixth-level (lowest) headings |
Usage | Subsections within <h5> sections |
SEO Impact | Supports detailed content hierarchy |
Styling | Smallest heading, customizable |