Anyone that knows even remotely HTML code, knows that H tags are used for headings and titles in a single HTML page. There are six standard H tags: h1, h2, h3, h4, h5 and h6. All of these tags are hierarchically arranged and h1, h2 and h3 are the most frequently used in the following form:
<h1>Main title</h1>
<h2>Subtitle</h2>
<h3>Subtitle in subtitle</h3>
These titles and subtitles are also known as header tags, and their function is not only providing transparency to the reader of the text on our website but their printing and defining is very important for SEO optimization. In the case of SEO optimization, the main items are that the text on one page has a strict definition of what are your titles and subtitles and subtitles of subtitles. It is essential that these headlines include keywords because h1, h2 and h3 have an advantage while searching compared to the rest of the text contained in paragraphs. Here is an example of how it should look like:
<h1>Development of the website</h2>
<h2>Graphic design</h2>
<h3>Web design</h3>
<h3>Programming</h3>
<h2>SEO optimization</h2>
<h3>Onpage SEO optimization</h3>
<h3>Offpage SEO optimization</h3>
However, you should never recharge your headings and subheadings with keywords, but to match those keywords to the title so it can get its meaning. Likewise, it is not advisable to obtain h1 tags more than once in the text, the repetition of titles and subtitles, the setting of title and subtitle on hidden or display: none (hidden) and identical h1 and the title tag. You need to have a well defined hierarchy of your title and subtitle text with touches of keywords, which will boost your text and concept of the page where it is located.
The advantages of using h1 tags: H1 tag is the most important and each page must contain it. It is used for the main description of the page, similar to the title tags. Google systematization collects h1 tags on each page and it will significantly improve your position in search if they are well written. The advantages of using keywords in h tags: H tags simply must include keywords because Google systematization collects all the tags, those with the highest quality match the user keywords and gets a better ranking. The advantages of using h tags comparing to users: When your site visitors open a specific page, titles and subtitles enable them to navigate the site more easily.