About the position of H1 tag in XHTML_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:45:48
Original
1088 people have browsed it

There has been a lot of discussion about H1 recently (in the article content page). There are roughly two situations:
1. H1 should be used in the title of the article
2. H1 should be used Used on the title of the site
I believe most people prefer the first method: used on the title of the article. From the perspective of the article, when users enter the content page, of course what they want to see is the article. Of course, the title of the article is the most important and should be highlighted.
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, there are also navigation, advertisements, searches and other content that are 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:
1. Issues related to SEO (H1 has an impact on SEO)
2. Issues related to semantics
These two issues are contradictory. Sometimes when doing SEO, you have to give up semantics. 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 make the header information of the page more careful? 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 at the same time, in order to adapt to multiple terminals, some students said that you also use hidden text. , yes, that 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.

source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!