Skip to content

<h6> - Level 6 Heading

Block-level HTML 1.0

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

Result
<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>
Result
Result
Result
<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>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>
Result

Never skip heading levels:

<h1>Title</h1>
<h2>Section</h2>
<h3>Subsection</h3>
<h4>Detail</h4>
<h5>Sub-detail</h5>
<h6>Fine detail</h6>

At this level, style should be subtle but still distinguishable:

Result
Result

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>

Ask yourself:

  1. Is this content complex enough to need 6 levels?
  2. Should this be split into multiple pages?
  3. Would a list or table work better?
  4. Are users able to follow this hierarchy?
  • Comprehensive technical specifications
  • Legal documents with deep hierarchies
  • Academic papers with complex structure
  • API documentation with detailed parameters
  • Blog posts (use h1-h3)
  • Marketing pages (use h1-h2)
  • Product pages (use h1-h3)
  • Most web content (rarely beyond h4)
Result
BrowserVersionNotes
Chrome1+Full support
Firefox1+Full support
Safari1+Full support
Edge12+Full support
IE3+Full support

The <h6> element has been supported since the earliest browsers.

,
,

Better for term/definition content than deep headings. Learn more →