What H1 points to isWebsite constructionOf course, search engines will also pay more attention to the key content.Therefore, producers should nest keywords of the website and anchor text linked to important pages in H1, H2 and other tags.Regarding the use of H1, H2 and other title labels, the following precautions are given:
First, as a headline tag, H1 is recommended to appear on one page at most.Labels such as H2 and H3 can appear several times as needed.From H1 to H5, the importance of tags for search engines decreases in turn.
Second, H1, H2 and H3 belong to the "title" label, and must not be used as an emphasis in the content of large articles, otherwise they will be considered cheating.These titles can be article titles on the content page, subtitles of different columns on the home page, or even news list titles.
2. Title tag, description tag and keywords tag.
Each page of the website should have, and should be set according to the core content of the page. The article details page can use the introduction of the article as the description tag.
2、 The website produced should conform to W3C standards:
1. The website adopts XHTML1.0 standard.
2. Use DIV+CSS to layout the web page.
3. Completely realize the separation of structure and presentation The so-called "structure" is HTML code, and the so-called "presentation" is CSS style.When a search engine reads a website, it usually only reads HTML code, but not CSS code or JS code.If a large amount of CSS code is also written in HTML documents, the reading efficiency of search engines will be greatly reduced. Therefore, in general, it is recommended to write CSS in a separate style sheet file, such as style.Css files.A clearly structured HTML document is not only convenient for website designers to modify and maintain, but also easy for search engines to read.
3. Use of strong tags and em tags.
StrongTags and em tags are often used in articles on the content page to highlight them.In terms of display effect, strong labels are displayed in bold, and em labels are displayed in italic.And they also have different meanings in semantics, and search engines will treat them differently accordingly.Em indicates the focus of the content, which will change the semantics of the sentence.Strong indicates the importance of the content, does not change the meaning of the sentence, and has a stronger emphasis.
4. Use of alt attribute in image tag.
At present, search engines are unable to read the content in pictures and flash, so don't use pictures and flash to fill the entire page in the process of website production.If you need to use it, you should also set it to facilitate the understanding of search engines.For images, the most important thing is to set the alt attribute.
3、 301 permanent redirection is recommended for website domain name change or program change or revision
1. Each page should have a link to the home page or important page.
2. The name of the webpage should be meaningful. It is recommended to use English or Pinyin related to the webpage content or keywords as the name of the webpage.This is helpful for the keyword ranking of the website.
3. Make a sitemap for the website.
4. On the article content page, you can add some relevant links.
5. JS code and CSS code are placed in separate files.
6. Avoid using large flash and pictures on important pages.
JS code and CSS code search engines themselves do not read. If they are placed in HTML documents, the original document structure will become complicated and the size of the file will be greatly increased. These are unfriendly to search engines.Therefore, it is recommended that all JS code and CSS code be written in separate external files.This article was published by Beijing Website Construction Company Shangpin China//ihucc.com/