rt, a little more detailed. Thank you
1. Flexibility: div is much more flexible than table. Many attributes in the table are not so easy to control, and they are highly related. If you use div, you can easily control each html element;
2. File size: To make the same page, the file layout using div is larger The file is smaller than the table layout, which can speed up the loading of web pages and is beneficial to SEO;
3. The table can be used to fill in data, but the div is not so professional;
4. The div layout requires a certain understanding of CSS , otherwise you won’t be able to create a page. If you don’t know the table layout and CSS, you can create a page that is not very rubbish.
Any web page needs DIV and TABLE together for layout. How to use the two together depends on what effect you want. It is impossible to simply use one to lay out the page.