Table Labels table in-depth understanding of experience exchange

Source: Internet
Author: User
Not long ago in order to find the main label contained in the table (table), has been looking for, of course, to share with you.

Table labels mainly include table, caption, TH, TR, TD, THEAD, TFOOT, Tbody, col, Colgroup, for each of the following:


Table labels define tables. In

























Inside the tag, you can place the title of the table, table rows, table columns, table cells, and other tables. Define a row in the table. defines the table header for the table. The THEAD, TFOOT, and tbody elements give you the ability to group rows in a table. When you create a table, you might want to have a header row, some rows with data, and a total row at the bottom. This partitioning gives the browser the ability to support table body scrolling independent of table headings and footers. When a long table is printed, the table header and footer can be printed on each page that contains the table data. defines a table body (body). Use tab, you can divide the table into a separate section. labels can combine one or more rows in a table into a group. Although you might want to include one, you can even include two or more of them in a table label, but we recommend that the table does not have tags. In the label, only Labels can define table rows. And once defined, a a label is a separate part of the table. For example, you cannot from a across to another the. The THEAD, TFOOT, and tbody elements give you the ability to group rows in a table. When you create a table, you might want to have a header row, some rows with data, and a total row at the bottom. This partitioning gives the browser the ability to support table body scrolling independent of table headings and footers. When a long table is printed, the table header and footer can be printed on each page that contains the table data. defines the footer (footnote) of the table. The THEAD, TFOOT, and tbody elements give you the ability to group rows in a table. When you create a table, you might want to have a header row, some rows with data, and a total row at the bottom. This partitioning gives the browser the ability to support table body scrolling independent of table headings and footers. When a long table is printed, the table header and footer can be printed on each page that contains the table data. Defines the property values for one or more columns in a table. You can only use this property in tables or Colgroup. Defines the grouping of table columns. This element allows you to group columns for formatting. This element is only

The caption element can define a table title. The caption tag must follow the table label immediately. You can only define a title for each table. Usually the title is centered on the table.


Defines a table header cell within a table. The text inside this th element is usually rendered as bold.


Defines a cell in the table.




  • The inside of the label is legal. There are two ways to use tags: one is to make a simple definition of several of the same columns, and the other is to combine several different columns. PS: The above content is from W3school, because w3school in the copyright information to mark the copyright, All rights reserved. Then I will not turn not to edit, take a paragraph, and then you can click directly to see a detailed description of a tag. You can also view an introduction to tables (table).
    Related Article

    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.