Talk about the effect of JavaScript on SEO

Source: Internet
Author: User
Keywords SEO

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

You may often hear people say that JavaScript is bad for SEO. Indeed it is.

People who have a website design know that JavaScript can make a lot of brilliant effects, such as snowflakes, drop effects, floating effects, and so on, but JavaScript is not friendly to search engines, While search engines, such as Google, may be able to bypass JavaScript directly while grabbing page information, Google's official documentation specifically emphasizes the minimal use of frames, Dhtml, cookies, Flash, JavaScript, etc. The reason is that the search engine in the face of these things need to judge, 8630.html "> Sometimes need to go back and forth to judge, we list several together analysis:

1. For the framework, Google makes it clear that it supports the crawl frames page but does not avoid the phenomenon that can not be crawled, when a few frames are side-by or nested, Google may only recognize one of them, and ignore the others.

2. For flash, we can add alt description for SEO optimization, or for its production of another static Web page to guide the search engine to collect, but too much flash also makes the Web page too large and not conducive to inclusion.

3. For JavaScript, if you want to use JavaScript, we can do some SEO processing, the most important thing is not to add JavaScript code directly on the page, but also to make them into a JS file, such as Test.js, and then in the Web page To create a link in the link, as follows:

This article is for the www.lacuo.com original only to share the Exchange experience. Reprint please indicate the source. Welcome to the webmaster and I communicate with each other ^_^

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.