Four ways to share the skills of improving the signal-to-noise ratio of web pages

Source: Internet
Author: User

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

Usually in doing SEO, often hear some words are friendship links, external links or original content, these are really very important, but also the whole SEO optimization process in the core. But in addition, there are some aspects worthy of our attention, such as page layout, Web page code, loading speed, etc. will also affect the ranking of products. So today and you share some of my own SEO details, that is to improve the signal-to-noise ratio of web pages, the simplification of web code.

What is signal-to-noise ratio

Search engine Crawl The page, the first step is to extract the text content in the page, and will not crawl the code in the page, so the first filter to extract the text content, the code for the text is noise, improve the signal-to-noise ratio is to simplify the code, thus increasing the proportion of the text. For example, usually we common business, because the picture more, less text, plus functional requirements are more abundant, so the difficulty of optimization is quite large, which improve the signal-to-noise ratio is a basic SEO work.

Summarizing common Tips

First, use CSS styles to define the attributes of a page element, such as font, color, size, and page layout. Some sites are defined using CSS styles, while using some styles for repeating definitions in a Web page, or some content using CSS styles, and other parts directly defined in a Web page, which can achieve the ultimate effect, but undoubtedly increase the number of code in the Web page.

Second, to encapsulate some common function functions, for example, the general ASP Web site, the news information, messages, content, etc. can be packaged, encapsulated into a function package, in the need of direct call can be, so as to maximize the reduction of unnecessary redundant code. For CSS and JS is so, in general, are stored separately, in need also did not make a call. Try not to put a large section of the JS code or CSS style in the Web page.

Third, as far as possible delete or reduce the annotation, in many websites, the annotation is a very important part, it can help the programmer to carry on two development to do well the guidance and the support, but if the page code each line has the annotation, then also can affect the webpage opening response time. In addition, in the SEO perspective, these comments for the search engine is no special use, but added some noise.

Four, reduce the use of tables, now many sites have adopted Div to layout, which is a very good way of streamlining the code. Pages that are laid out using div are significantly smaller in size than table layouts, and the load speed is also more advantageous. For a table, if it is a multi-layer nesting, then the search engine will not be very good to crawl inside the content. Of course, is not to say that the table must not be used, in some cases, the table is very advantageous, but said the overall layout of the use of Div best.

Write here, improve the Web page signal-to-noise ratio of the basic skills and share the end. In some articles, Google suggested that the web file preferably less than 100KB, page links in the number below 100, and Baidu does not recommend more than 128KB, so for us to optimize the staff, if possible, should be in the design of the site to consider this point. Of course, these are not absolute, some Web files have 1MB or even larger, search engine crawling is very good, here just give advice, because a lot of things can not generalize. Well, today's article is here, this article from: Beijing Printing Company, Web site: http://www.hhpt.com.cn/, reprint, please keep the link, thank you!

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.