Web page Acceleration Page Structure Chapter

Source: Internet
Author: User
Today we will discuss the Web page structure.

The structure of a Web page is good or bad, the loading speed of the Web page has a great impact!

1, on the framework structure in general, should avoid the use of frame structure, because the browser must be in the framework of each page request! This will inevitably
Increase the burden on the server. In addition, a small number of users now use browsers that do not support frame structure display. In some places, of course, the frame structure still looks
Very convenient, for example: Chat room, forum, community, software download.

2, on the Application of table Form is not limited to, in some content list time, for the entire layout of the page, the table has a very important role. For
Can make a lot of content in the Web layout of the orderly, generally through no border to block the page, and then put different content in different cells
In The use of tables is tricky: first, try to avoid the use of complex tables, because complex tables can make browsers refresh multiple times
Form. Second, you can divide a table into two or two because it is divided into two because the browser only reads all the contents of the table and then
The output shows that if there is a lot of content in the table, the browser will remain blank until the table is read in the loading process. Finally, the table is embedded
Set not more than 3 layers, too many layers in the loading table will make the browser spend a lot of time processing table structure. The first page of Sina website is very good
example, you can save it with an editing software open to view its structure. Skilled use of the form is necessary to make a beautiful web page!


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.