Will the contents of the comments in the Web page be crawled?

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

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: annotation content in 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 get used to annotating pages 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.com.cn/mumuhouzi welcome attention to micro-letter public account: Mumuseo.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.