(2) webpage Structure
The structure of a webpage has a great impact on the loading speed of the webpage!
1. About the Framework Structure
In general, try to avoid using the framework structure, because the browser must request each page in the framework separately! This will inevitably increase the burden on the server. In addition, browsers currently used by a few users do not support frame structure display. Of course, in some places, the framework structure is still very convenient, such as chat rooms, forums,CommunitySoftware Download.
2. About the table
The application of a table is not only limited to, but also plays a very important role in the entire layout of a webpage when listing some content. In order to make a large amount of content arranged on the webpage well organized, the webpage is usually divided by no border, and then different content is placed in different cells. There are some tips for using tables: First, try to avoid using tables with complex structures. Because tables with complex structures may refresh the tables multiple times in the browser. Secondly, when a table can be divided into two or more tables, it should be divided into two, because the browser only reads the entire table and then outputs the display. If the table contains a lot of content, during the loading process, the browser will remain blank until the table is read. Finally, table nesting should not exceed three layers. If there are too many layers, the browser will process the table structure when loading the table.
The home page of Sina is a good example. You can save it and edit the software to open it and view its structure. Skillful Use of tables is required to make beautiful web pages!