Use of Tbody,thead,tfoot

Source: Internet
Author: User

These tags seem to be less commonly used, but they have a big effect at some point.

When we have a large table that needs to be shown, we will need them. Because table is displayed when the entire table is downloaded, if the page table content is more, it takes a lot of time to download, so it is easy for users to lose interest in browsing. So we're going to use the label above to "improve the page display".

Tbody,thead,tfoot are all sub-tags of table, apparently they are "table body", "Table Header", "Footer". Their display order is from beginning to end, thead before Tbody,tbody before TFOOT, which requires us to set these tags, thead before tbody appear, tbody before tfoot appear, a table inside allow multiple tbody. These tags can be a large table block display, that is, first display a piece, and then display the following block, where the block is in the table "row" units, that is, the Tbody label is the subordinate label TR, so that the browser can see a part of the complete information. Although the time to display a full page is the same, it is more user-friendly.

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.