HTML heading are titles and subtitles that you can display on your webpage.
HTML headings are defined with the <h1>
to <h6>
tags.
<h1>
defines the most important heading. <h6>
defines the least important heading.
Some example heafings are shown below.
Search engines use the headings on your website to index the content and structure of you web page.
Users often skim a page only by its headings. It is important to use headings to show the document structure.
<h1>
headings should be used for main headings, followed by <h2>
headings, then the less important <h3>
, and so on.