Use the
tag in HTML to display the body of the table. Thetag of HTML is used to add body to the table. The tbody tag is used together with thead tag and tfoot tag to identify each part of the table (title, footer, body).The following are the attributes of the
tag:Attributes | Value | Description |
---|---|---|
right | leftcenterjustifychar | ##DEPRECATED- Visual alignment. |
Character |
is deprecated | - Specifies the characters on which to align the text. Used when align = "char". |
pixels or % |
has been Deprecated | - Specifies the alignment offset (expressed as a pixel or percentage value) from the first character. Used when align = "char". |
top |
middle bottom baseline | #DEPRECATED
- Vertical alignment. |
HTML tbody Tag
This is the head of the table | |||
This is the foot of the table | |||
Cell 1 | Cell 2 | Cell 3 | Cell 4 |
Cell 1 | Cell 2 | Cell 3 | Cell 4 |
The above is the detailed content of How to display table body in HTML. For more information, please follow other related articles on the PHP Chinese website!