to
Higher-level headings, more commonly used. Learn more →
<h6> ElementThe <h6> element represents the sixth and lowest level heading in HTML. It’s used for the most granular subsections and is rarely needed in typical web content.
<h6>Smallest Heading Level</h6>The <h6> element creates the lowest-level heading, representing the most specific subsection.
The <h6> element supports all global attributes like id, class, style, and lang.
<h6 id="note-1" class="minor-detail">Important Note</h6><h4>Configuration Options</h4><ul> <li><strong>port:</strong> Server port number (default: 3000)</li> <li><strong>host:</strong> Server hostname (default: 'localhost')</li> <li><strong>debug:</strong> Enable debug mode (default: false)</li></ul><h4>Configuration Options</h4><h5>Server Settings</h5><h6>port</h6><p>Server port number (default: 3000)</p><h6>host</h6><p>Server hostname (default: 'localhost')</p><h6>debug</h6><p>Enable debug mode (default: false)</p><h4>API Parameters</h4><dl> <dt>limit</dt> <dd>Maximum number of results (1-100)</dd>
<dt>offset</dt> <dd>Starting position for pagination</dd>
<dt>sort</dt> <dd>Sort order: 'asc' or 'desc'</dd></dl><h4>Request Headers</h4><table> <tr> <th>Header</th> <th>Description</th> </tr> <tr> <td>Authorization</td> <td>Bearer token for authentication</td> </tr> <tr> <td>Content-Type</td> <td>Request body format</td> </tr></table>Never skip heading levels:
<h1>Title</h1><h2>Section</h2><h3>Subsection</h3><h4>Detail</h4><h5>Sub-detail</h5><h6>Fine detail</h6><h1>Title</h1><h3>Section</h3> <!-- Skipped h2 --><h6>Detail</h6> <!-- Skipped h4, h5 -->At this level, style should be subtle but still distinguishable:
Deep hierarchies can confuse users navigating by headings:
<!-- Screen reader: "Heading level 6: Performance Considerations" --><h6>Performance Considerations</h6>Too many heading levels increase cognitive load:
<h1>Guide to HTML</h1> <h2>Text Elements</h2> <h3>Headings</h3> <h3>Paragraphs</h3> <h3>Lists</h3><h1>Guide</h1> <h2>Section</h2> <h3>Topic</h3> <h4>Subtopic</h4> <h5>Detail</h5> <h6>Note</h6> <!-- Too deep -->Ask yourself:
| Browser | Version | Notes |
|---|---|---|
| Chrome | 1+ | Full support |
| Firefox | 1+ | Full support |
| Safari | 1+ | Full support |
| Edge | 12+ | Full support |
| IE | 3+ | Full support |
The <h6> element has been supported since the earliest browsers.
to
Higher-level headings, more commonly used. Learn more →
,
Better for term/definition content than deep headings. Learn more →
and
Lists for flat, related items. Learn more →
Tabular data organization.
Learn more →
Specifications
Section titled “Specifications”