In HTML you can specify several types of headings. It will make the text bigger, so the text stands out, for example to display the main title of the page, title of sections / paragraphs...
There are 6 levels of headings, 1 being the biggest text (most important), to 6 being the smallest text (least important).
Search engines will recognize them and give the keywords used more importance than in regular text. You can use heading tags for SEO
1
<H1> header
H1 tag will make the biggest header. It's usually the page's title or main topic for the page.
Example: <h1>My trip to Vegas</h1>
• For search engines, it's the most important header of the page. • Don't use H1 more than one per page.
2
<H2> header
Use h2 tags to display the topic of the paragraphs / sections of your page.
Example: <h2>My hotel</h2>
3
<H3> header
Use h3 tags if you need to display titles of subsections.
Example: <h3>My hotel room</h3>
4
<H4> header
Use h4 tags if you need to display titles of subsections.
Example: <h4>My bathroom</h4>
5
<H5> header
Use h5 tags if you need to display titles of subsections.
Example: <h5>The shower</h5>
6
<H6> header
Use h6 tags if you need to display titles of subsections.
Example: <h6>The soap</h6>
That's it!
If you need to adjust the text size of heading tags, use this CSS code (example for H1 tags):