Heading utilities control the visual scale independently of the semantic heading level. Choose the HTML level from the page outline.
Worked example
<h2 class="demo text-3xl font-bold">Release notes</h2>Implementation notes
Responsive font sizes need a corresponding line height. A large display setting can overlap descenders if the line-height utility stays fixed.
Try it yourself
Use the same visual style on a section heading and inspect the document outline.
Open the Tailwind CSS example →Editorial date June 22, 2026 · Published December 6, 2026