HTML Heading Elements Reference

The HTML <h1> through <h6> elements define six levels of headings for pages and sections.

<h1–h6>

HTML Heading Elements Reference

The HTML <h1> through <h6> elements define six levels of headings for pages and sections.

Categories

  • Sections

Tag omission

Consult the HTML Living Standard for the precise tag-omission rules.

Content model

  • Detailed content-model guidance will be added to this reference.

Attributes

Examples

Example

A practical heading-elements element example.

<h1>Page title</h1>
<h2>Major section</h2>
<h3>Subsection</h3>

Related references

Description

The HTML <h1> through <h6> elements define six levels of headings for pages and sections.

References

  1. HTML Living Standard: Index of elements
  2. MDN: HTML Heading Elements

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies