Many webmasters know that there is a comment code in the Web page code such a thing, its form, in the HTML annotation content appears in the Web page source code, and the user browsing the web process is invisible. Because the annotation content in the source code will not affect the content of the page, so many people think spiders will crawl annotation information and participate in the analysis of the page rankings, so add a lot of comments in the Web page content, or even directly in the comments stack keywords.
Will the content of the comments in the Web page be crawled? Let's take a look at how Baidu engineers answer:
Q: Will the content of the comments be Baidu crawl analysis?
Baidu Engineer: The annotation content in the HTML, will be ignored in the text extraction link. Although the annotation code will not be crawled, but will also create code jumbled situation, so can be less.
It is clear that search engine spiders are very intelligent, in the process of crawling the Web page can be recognized annotation information, directly ignored, so the annotation content is not crawled, and will not participate in the analysis of the content of the Web page. Imagine if spiders could crawl annotations, and this annotation code is equivalent to a hidden text, then the main content of the Web site can be called through JS Code, only for users to browse, and the content of the spider to crawl is placed in a large number of annotation information, so that the Web page to show spiders and users is not the same content, If you are a gray industry station, then you can give search engine a completely formal content to show, escape the shackles of search engines, the search engine will officially allow you to cheat? So no matter how many keywords you add, you don't have any effect on the rankings.
Then the comments in the stack of keywords will affect the rankings do not, because the search engine is directly ignoring the annotation, but how to annotate the content is very much, but affect the page style, the impact of Web page loading speed. So wood-wood seo If the annotation is useless, try to remove and keep the code the most simplified. We often say that the site code to lose weight, simplifying the annotation information is one of the ways to lose weight, optimize the annotation information benefits on the site thin body.
Of course, many programmers and web designers are accustomed to annotating the Web page, this is a good habit, reasonable annotation information can reduce the time to find information, so that the query and modify the code more convenient, so it is recommended that the online Web page simply add annotation information, such as the pages of various sections of the page and tail notes, Important part of the comments, and so on, and online backup of the page can be more detailed to add the various parts of the annotation information to facilitate the technical staff to browse and modify, so that not only beneficial to the Web page slimming, while not affecting the revision of the page.
Author: wood-Wood seo article from: Http://blog.sina.***.**/mumuhouzi welcome attention to micro-letter public account: Mumuseo.