Skip to main content

Headings

In HTML, headings (<h1> through <h6>) are used to organize and structure content hierarchically, similar to an outline. The levels provide meaning, not just formatting, to the content, to help users, search engines and screen readers understand the flow of information.

HTML provides six levels of headings.

Modify the code below and see the live browser output:

Using these different levels provides structure to a document - a hierarchy - not just a set of font sizes. Use the six levels to provide the outline - order - to the document.