Can I make more than one <h1> header per page? Those. will it be semantically correct? And whether it will create problems for SEO and indexing the site in the future?
Just once, somewhere, I heard that <h1> should be only 1 per page.
Can I make more than one <h1> header per page? Those. will it be semantically correct? And whether it will create problems for SEO and indexing the site in the future?
Just once, somewhere, I heard that <h1> should be only 1 per page.
H1 is a first level heading.
For search engines, several H1, anyway, that for you several titles of one article.
The correct answer is: it is better to use 1 H1
h1 is the top level element in the table of contents. Those. the title of the section / chapter / something else.
There are no problems with several h1 elements on the page - on the contrary, it would be strange to see only 1 "main" heading in the automatically constructed table of contents.
For a long time it was believed that on one web page you can have only one element h1. But in the latest standard HTML5, there are semantic elements with which you can segment / fragment the source code of your page. The documentation states that the main elements of article + section should have some element h, but there is no directive for the mandatory sequence of these elements. However, (The Devil is hidden in the details), you should understand that search engines and browsers create a DOM document object model when scanning your page. From this W3 documentation , you can see that the h1 element is one of the main elements for creating a DOM. With several elements h1 possible delay with the definition of the primacy of these elements - from what to start. Because of this, the speed of loading a web page may decrease, and this is currently one of the main search ranking factors. Search engines use headings to index the structure and content of your web pages. W3 article about this + * HTML5 Doctor * + SearchEngineLand article . My answer is : you can apply many h1 elements on one web page, but it is more correct to use only one such element and maintain the sequence and nesting of all h elements. To determine the structure of a site with h elements, I recommend that you use the W3 validator . Select the outline filter and control the structure of your site / page below, in the Heading-level outline and Structural outline sections. An example of a sequence of elements h .
Source: https://ru.stackoverflow.com/questions/540035/
All Articles