How to make Web pages that meet the needs of search engine optimization

Source: Internet
Author: User
Keywords Improve

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

Web optimization is an important link to improve the efficiency of web site operation. How the Web page is too large can lead to a long download time, cause the site to open too slow, not conducive to spiders crawling, but also not conducive to the user's experience, which is a taboo in search engine optimization, then, how to get a smaller Web page file, so that a shorter download time, and make the Web page conducive to search engine retrieval, Is the novice must face the problem, in fact, before making a Web page should be integrated planning page content, control file size, and from image processing, table use, coding and other aspects of comprehensive consideration of optimization, so as to achieve the best results. In general, to develop a page that meets the needs of search engine optimization, the following points should be noted:

First: Consider from page elements

1. How to use frame

Frames can divide the browser window into different frames, displaying different pages in each frame. Frame-structured pages tend to be slower to download than regular pages, and even "memory overruns" occur when used improperly. Many search engines do not recognize frames. But can use the hidden frame of the page to pass the data, also can use floating frame to pass the image and so on information, the principle is to not destroy the integrity of the page, use a URL to locate the page is advisable.

2. Table structure Design

The table has a complete layout function to specify the location of the document or image. But it also has disadvantages, such as access to some sites, waiting for a long time does not appear results, only press the "Stop" button after the page is suddenly displayed, the browser encountered the table, will first from the inside to the outside to explain the table structure, and finally explain the table content , causing the page to display very slowly. Should use a reasonable table structure, that is, the page divided into several forms to design, such as a table navigation menu, a content directory, the browser will explain a table, its contents, and then explain the next table. The simpler the table structure, the faster the page displays. Try to avoid nesting all elements in a table.

3. Image processing

Image is recognized to affect the speed of web site access factors, as much as possible to use the image is to improve the speed of Web site access tips. You can use the appropriate image format, JPEG and GIF is the Web page commonly used image format, can produce similar visual effects under the premise of a substantial reduction of documents. The GIF format works better than the JPEG format for image files under 4KB of the same content. We can also reduce image size by reducing image color and compression. and reduce the number of image files as much as possible. and processing large images can create a thumbnail image file placed in the page, link it to the original large image, users can "click to see the big picture."

4. Page Header Properties

The page header attribute refers to the contents of the MML file in the < Headxead > identifier, making full use of the title and meta tags in it, so that the Web page is friendly to the search engine and stands out in the search results. Titie to reflect the content of the page as much as possible, preferably including key keywords. Keywords the words should be separated by commas to avoid repetition.

Second, the coding considerations

1. Use style sheets

When all text on a page is the same size, defining text with a style sheet (CSS) reduces the size of the file by reducing the number of code that is defined separately.

2. Use default values

If you have a new window for most of the links in the page, setting the default value for the page target frame to new window will reduce the number of new windows defined.

3. Simplified form

When text or an image is centered in a table, using a cell centered is less code than the center of the text; setting a table has a behavior that is green, and using a row definition background color is less than the cell definition code. When defining the width and Height properties of a table, be aware that the values defined are as consistent as the width of the content. Follow a principle: No more than one control of the same cell size height and width, to ensure that any one width and height are valid, that is, changes in the code of any width and height of the value, should be seen in the browser changes.

4. Reduce the same Code

The display of multiple messages uses an ordered or unordered list as much as possible, rather than a table.

5. Description Image size

That is, give < img > Attach the width and Height properties so that the browser determines the correct page layout before downloading the image, and then displays the text and other subsequent content so that the user can start browsing while downloading the image. If an image is placed in a table, an image without a defined size causes the browser to clear and redraw the page.

Only by following the way to design the Web page, you can maximize the size of the page, so as to make the search engine optimization requirements of the page. The above is a personal point of view, I hope to learn with you, finally, the article copyright: Guangzhou People Hospital: http://www.gzrlw.net/, Welcome to reprint, reprint, please keep the link!

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.