I believe most people prefer the first method: use it in the title of the article. From the perspective of the article, what the user wants to see when entering the content page is of course the content of the article. The title of the article is of course the most important. , which should be highlighted the most.
OK, the above is viewed from the perspective of the article. What if it is viewed from the perspective of the page?
In addition to the article content and links derived from the content, the page also contains navigation, advertisements, searches and other content that is not directly related to the article content. In the page, the article is only one component of it. From a semantic point of view, there is only one headline (H1) in a page, which is used to summarize the content of the page (including non-article parts). Therefore, H1 is more accurate for site titles than for article titles. Note that H1 is different from title.
Here we also address the ideas raised by some students in the discussion:
Issues about SEO (H1 has an impact on SEO)
Issues about semantics
This The two issues are contradictory. Sometimes you have to give up semantics when doing SEO. Domestic SEO methods basically have no semantics at all. The sad thing is that students who are building websites nowadays basically focus on SEO.
H1 has an impact on SEO, but it is not necessary. Its weight is much lower than the information in the header of the page. Why not pay attention to the header information of the page? And if semantics are done well, it will not have a bad impact on SEO. Why do you have to take advantage of this?
I think the content in the body should be whatever it is, and the focus should be on semantics, because this part is mainly for users to see, and also to adapt to multiple terminals. Some students said that you don’t use it too. Hidden text, yes, it is for semantic service, to make the content more readable on terminals that do not have styles or do not support styles, not for SEO. SEO should focus on the head, which is also what search engines value most. For example, meta contains many attributes used by search engines.
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn