<h3>: The H3 Element

Last updated: 2026-10-13

<h3>The H3 Element

The <h3> element is a level-3 heading used below <h2> for subsections, organizing finer content structure.

CategoryText Content
Content ModelFlow content, heading content
Allowed ParentsAny element that accepts flow or heading content
Content TagYes — requires closing </h3> tag
StatusStandard

📝 Syntax

<h3>Level 3 heading</h3>

▶ Example

Edit the code below and see the live result in the playground:

🌐 Browser Support

Browser ChromeChrome EdgeEdge FirefoxFirefox SafariSafari OperaOpera
<h3> ✓ v1 ✓ v12 ✓ v1 ✓ v1 ✓ v1
Supported in all major browsers

❓ FAQ

QDoes h3 need an h2 before it?
ANot forced by the spec, but strongly advised for outline quality: <h3> should be a subsection of some h2. An h3 directly under h1 skips a level, breaks the hierarchy, and throws off screen readers' by-heading navigation.
QCan h3 be used for card or list-item titles?
AYes, that is a common use: each card in a card grid gets an h3 — provided the page has a clear h1→h2 hierarchy and the cards belong to some h2 section. Without that context, a bolded <p> is more honest.
QHow different should h3 and h2 styles be?
ANo requirement — decreasing font size is convention, not law. What matters is a visible hierarchy (any mix of size, weight, and spacing), and that h3 never looks more prominent than h2.

📚 Related Tutorials

Web-Tutorial.com

Web-Tutorial Tech Team

A team of developers maintaining programming tutorials. Each tutorial is written and reviewed by developers with expertise in that field. We work to keep our content accurate and reliable — if you spot an issue, please let us know.

100%

🙏 帮我们做得更好

我们是刚上线的编程教程站,几个人的小团队,精力有限。页面虽经检查,难免还有疏漏——链接失效、排版错乱、内容有误、语言生硬……

如果您发现了,麻烦告诉我们,我们会在收到反馈后第一时间进行修复,再次感谢您的光临 🙏