SEO Optimization Site code optimization is the basis of content, for SEO is not the core content, but if not optimized, will inevitably lead to the overall ranking of the site. So what is the core point of site code optimization? Know the following points on the clearance!
Optimization of tags
1, H1 a page can only appear a pair, and used in the body of the article page title.
2, H2 a page can appear multiple, but do not blindly use, can be used in the site logo pictures, the main title of the article.
3, H3, general use in the article subtitle.
4, H4 after the general is not used, are gradually used! So it's not specific here.
Baidu Encyclopedia to optimize to the extreme, it is worth to see:
H Tag Optimization
Alt Tag Optimization
Because the search engine does not recognize the image of the site, the picture must be added alt tag to describe, tell the search engine, the image is not necessary to add Alt, but also add the title tag, as long as the alt can be, general description content can use the title of the article!
Site Link Code optimization
There are many needs can use the new window to open the blank property, external links to check whether to add nofollow, especially links, to check if someone else links to your site is not with nofollow, with nofollow link can not pass the weight of the site!
JS code optimization
JS code as little as possible, do not want to look for a large number of pages in the use of JS special effects, this is not conducive to site optimization, spiders can not identify the site's JS code. Generally used in forms validation, login also side, some not very important pages.
Optimize your site navigation code
Site navigation is universal, is very important, we try to use text navigation, do not use images and flash search engine unrecognized code. If you must use the picture, please add the alt attribute. Flash will try to avoid, although the effect of Flash is very good, but the load is very slow, the search engine can not read the Flash files.
streamlined code, reasonable layout
The code on our website must be streamlined, use DIV+CSS design page, reasonable layout label Minimize div layer, use description tag, concise description of your Web Sales training website, focus on the site and frequently updated content code as close as possible to the location. Do not exceed 125K pages.
Summarize:
For SEO site optimization, understand these basic can, good site code optimization, can pass the weight, provide the quality of the Site page, and will not optimize the code verification may be Baidu K station is possible, so must pay attention to every step of detail optimization, to provide the overall quality of the site!
This paper by data Analyst-board Deng original
Board Deng: webmaster must know the website HTML code optimization