HTML <h1> to <h6> Tags


The heading element specifies the most essential or highest level heading in an HTML page. HTML headers are defined using the <h1> to <h6> tags.

The most essential heading is defined by <h1>. The least significant heading is defined by <h6>.

Use just one <h1> per page - this should be the primary heading/subject for the whole page. Also, do not skip heading levels instead, begin with <h1>, then <h2>, and so on.

Syntax

Example

Preview

Supported Browsers

Element Chrome Firefox Safari Edge / IE Opera
<h1> to <h6> Yes Yes Yes Yes Yes