Disadvantages of Tables 1. Table takes up more bytes than other HTML tags. (Delay download time and occupy more traffic resources of the server.) 2. Tablle will block the rendering order of the browser rendering engine. (It will delay the generation of the page and make the user wait longer.) 3. When displaying pictures in a table, you need to split a single, logical picture into multiple pictures. (Increases design complexity, increases page load time, and increases the number of HTTP sessions.) 4. There may be problems copying text in the Table in some browsers. (This will annoy users.) 5. Table will affect the effectiveness of some of its internal layout attributes (such as the height: 100% of the element in <td>) (this will limit your page design freedom.) 6. Once you learn CSS, you will find that using tables for page layout becomes more troublesome. (Take the time to learn some CSS first, it will save you a lot of time later.) 7. Table is semantically incorrect for page layout. (It describes the presentation, not the content.) 8. Table code drives readers crazy. (Not only can you not use CSS, but you will also be confused) 9. Once the table is designed, it becomes dead and it is difficult to give it a new look through CSS. Advantages of Tables In some situations, using Table is 100% appropriate, proper, and correct. For example, it is completely correct to use table to make a table. If you can't decide whether you should use a table, refer to the above points and I believe you will find the answer. |
<<: Use momentJs to make a countdown component (example code)
>>: Detailed installation process of Jenkins on Linux
Table of contents Overview Application scenarios ...
Download the Windows version of Nginx from the Ng...
Table of contents Table/index.js Table/model/inde...
1. Use the shortcut Ctrl + Shift + P to call out ...
CSS Position The position attribute specifies the...
Table of contents How to flatten an array 1. Usin...
This article introduces the CSS scrollbar selecto...
1. Create a docker network card [root@i ~]# brctl...
1. MacVlan There are many solutions to achieve cr...
The "nofollow" tag was proposed by Goog...
Call How to call Amap API? The official open docu...
I recently used Docker to upgrade a project. I ha...
Table of contents Preface Static scope vs. dynami...
Software version and platform: MySQL-5.7.17-winx6...
Preface When developing static pages, such as Vue...