<h1>

Sections

The highest-level heading element. There should typically be one h1 per page representing the main topic. Critical for SEO and document structure.

Common Attributes

role

Example

<h1>Page Title</h1>

About the <h1> Element

The <h1> HTML element belongs to the Sections category of HTML elements. The highest-level heading element. There should typically be one h1 per page representing the main topic. Critical for SEO and document structure. Understanding when and how to use this element is essential for building well-structured, accessible, and SEO-friendly web pages.

The <h1> element requires both an opening <h1> and closing </h1> tag. Content placed between these tags becomes the element's children. This element is part of the current HTML Living Standard and is supported in all modern browsers including Chrome, Firefox, Safari, and Edge.

Proper use of semantic HTML elements like <h1> improves document structure, helps screen readers interpret content correctly, and provides signals to search engines about the purpose of different sections of your page. This leads to better accessibility scores, improved SEO rankings, and more maintainable code.

Related Elements