Anyone who knows any HTML code knows that H tags are used for headers and titles within an HTML page. There are six standard X tags, and they are: x1, x2, x3, x4, x5 and x6. All these tags are hierarchically arranged and x1, x2 and x3 are most often used in the following form:

<h1>Main address</h1>


<h3>Subtitle subtitle</h3>

These titles and subheadings are also known as header tags, however their function is not only to provide the reader of the text on our site with clarity, but their printing and definition is also very important for SEO optimization. In the case of SEO optimization, these are the basic text settings so that, on one page first of all, you have a strictly defined what your titles are and what subheadings and subheadings are. It is important, among other things, that these titles contain keywords, because x1, x2 and x3 have an advantage when searching in relation to the rest of the text contained in the paragraphs, for example. Here’s an example of what it should look like:

<h1>Website design</h1>

<h2>Graphic design</h2>

<h3>Web design</h3>


<h5>SEO optimization</h5>

However, headings and subheadings should not be filled with keywords, but those keywords should be aligned in the title so that the title gets its meaning. Also, it is not recommended to have h1 tags more than once in the text, then repeat the title and subtitle, set the title and subtitle to hidden or display: none (skivene) and identical h1 and title tag. So, you need to have a precisely defined hierarchy of your titles and subheadings in the text with the addition of keywords, which will further strengthen your text and the concept of the page on which it is located.

Advantages of using h1 tags

h1 tag is the most important and every page must contain it. Used for main page description, similar to title tags. Google’s search system collects h1 tags on each page, and if written well, it will significantly improve your search positions.

Advantages of using keywords in x tags

H tags simply have to contain keywords because Google Systematics collects all x tags and the ones that are of the highest quality and match the keywords rank better.

Advantages of using h tags over users: When visitors to your site open a particular page, titles and subheadings make it easier for them to navigate the page and view it.