The HTML <h3> tag
The HTML <h3> element is a level-3 heading. It represents a sub-section heading nested under an <h2>. Headings (<h1>–<h6>) define a page's outline — use them in order without skipping levels, and style their size with CSS.
Overview
The <h3> element is a level-3 section heading — one of the six heading levels from <h1> (most important) down to <h6> (least). It represents a sub-section heading, nested under an <h2>.
Together, the headings on a page form its document outline — the structure that browsers, search engines and assistive technology use to understand it. Screen-reader users in particular navigate by jumping from heading to heading, so a logical, well-ordered hierarchy is one of the highest-impact things you can do for accessibility.
The golden rule is to choose a level for its place in the structure, not for how big it looks, and never skip a level (do not jump from <h2> straight to <h4>). Headings carry meaning; for appearance, restyle them freely with the CSS font-size and font-weight properties.
Syntax
<h3>This is a level-3 heading</h3>
Example
<h3>This is a Heading 3</h3>
Best practices
- Choose a heading level for its place in the document structure, not for how big it looks.
- Never skip heading levels — follow
<h1>,<h2>,<h3>in order. - Use a single
<h1>for the page's main title or subject. - Restyle headings with the CSS font-size and font-weight — the element is for meaning, CSS for appearance.
Accessibility
Headings are the primary way screen-reader users navigate a page — they can jump from heading to heading and pull up a list of them to understand the structure at a glance. For that to work:
Frequently asked questions
What does the <h3> element represent?
<h1> (most important) to <h6> (least); the level should reflect the heading's depth in the page structure, not its visual size.How many h1 elements should a page have?
<h1> is the safest, most widely understood choice.Can I skip heading levels?
<h2> to <h4>) breaks the document outline that assistive technology relies on. Keep them in sequence.