Some suggestions to be paid attention to in website construction

Source: Internet
Author: User
Keywords Website construction

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

Site construction will encounter a lot of problems, the following author for you to introduce a number of site construction needs attention.

1. Page to Slim

The smaller the space the page occupies, the faster we will be able to browse the Web. Therefore, we recommend that you do not use too much, too large flash, pictures and JS code. The simplicity of the page will be more popular.

2. Use static HTML pages as much as possible

Although PHP, ASP, JSP can make the site appear "dynamic" state, but such programs will consume a certain amount of server resources, if your server has a lot of such programs, then your site's web page speed naturally not fast. Using static HTML pages is a lot simpler, so it's a good idea to use a static HTML page for your friends.

3. Many enterprises are currently in the Web site construction also use table to build stations, and some people for the page to look good on the whole page Dou fish placed in a large table, and then use TD to split into chunks. In fact, if you take this approach, the Web page will display slowly, because the table needs to load all its contents before it can be displayed. So we should split the content into several pieces and put them in a table with the same pattern.

4. Change access for files such as PHP to. js References

If you need to embed dynamic Data in the static HTML page of your site, these dynamic data are provided by PHP, ASP and other programs, then we recommend that the data in these programs dynamically generated to a. js file, will not spend the resources of the server, access to the Web page will speed up a lot.

5. Nesting another page with an IFRAME

If you want to insert the advertising code on the homepage of the website, you can use IFRAME, the advantage is not to affect the speed of the page loading.

6. Web counter is for webmaster and advertisers to provide access to the basis, but if you do not want to let the Web counter code affect your site access speed, then suggest you put the statistics code below the site, preferably a separate div or table.

7. Friendship Link Setting

Links to the Site settings are not appropriate will affect the speed of Web page display, we suggest that the Friendship link settings only do text links, because the text links will not affect the page display speed. Then make a separate page, all the links are placed in this page, and the first link to this page. If you need to place a link to the home page, it should be placed at the bottom of the webpage.

8. Web Space

The space of the website suggests that you choose two-line space, dual-line space can avoid other users of the site when access, network problems caused by access delays.

This article original in Le Fen Science and Technology http://www.52lefen.com, reprint please indicate the source address, thanks!

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.