Heading tags

What are Heading Tags / Elements (H1, H2, H3, H4, H5, H6)?

The heading element in HTML defines a structure for headings in a document. Starting with H1 as the most important heading, descending to H6, heading tags have been a standard part of HTML since HTML 2.0.


<h1>Heading text</h1> <h2>Heading text</h2> <h3>Heading text</h3> <h4>Heading text</h4> <h5>Heading text</h5> <h6>Heading text</h6>
Code language: HTML, XML (xml)

Created: Last modified: