The rational use of H tags can have a good effect on optimization. So how important is H1 and H2 tags, how to use them, and where to use them, I will expand on the h1 and h2 tags and talk about my views on labels in H tag optimization.
We must first understand what h1 and h2 are. There are six TAGESs with different text sizes that define the header header in the HTML language. The essence is to present the content structure. There are six types of labels. The text is from large to small, and the weight is reduced accordingly. That is to say, H1>H2>H3, and so on. It also plays a role in the optimization, presenting the content structure. The benefits of this distribution distinguish the entire structure of the web page from primary to secondary. When search engines crawl web pages, they will crawl and index in this order. But we don’t use H1 to H6 frequently. We often use only H1 to H3, and H4 is also used frequently. As a keyword to highlight the website, of course you can choose bold, which is enough to highlight the keywords.
The h1 and h2 tags can be used anywhere, anywhere you think it can highlight the main and secondary content of the web page. Let’s give an example, the homepage of the website. Generally speaking, the main thing about the homepage of a website is the name of the website, because the theme of the website is built around the name of the website. Therefore, according to the label level, we should use the H1 tag on the most core content of the website. Of course, there are exceptions, such as the website is a portal, for example, the website name is Sina. But our ideas can still be applied and define H1 at the most core content. Secondly, we need to make certain selections for H2. We do not need to add H2 tags to all columns, but adding them is not harmful. So where do we need to add the H2 tag?
The core content of the homepage has been fixed, leaving only the navigation column and some other called columns. There are many connections in the website navigation column pointing to it, and it is fixed for a long time and the weight will definitely not be low. Therefore, we can use the opportunity of this H2 tag on columns that are not navigation but are called on the home page. Then there is H3, let’s make a little arrangement.
It is actually the same for the website column page and inner page. On the HEADER tag, we can treat any page of the website as an inner page. Just make it clear and present the content structure, and the idea is the same. We can set the column to H1 for the column page, because for the column page, the column name is the most core, followed by the column side, we can set it to H2, and finally the column list, we use H3. The same applies to the inner page. Use H1 for the core content, H2 for the side column, and H3 for the content connection.
There is another point here to remind everyone that the appearance of keywords in the h1 and h2 tags is conducive to optimization, but during the thinking process, don’t appear keywords to avoid flooding, and thinking should be broadened. The tag can be used anywhere, for a certain word, a certain word, or a certain sentence. Don't be limited to being in a specific location.