HTML table tag

Last Updated on April 26, 2023 by Roshan Parihar

HTML table tag is used data in tabular form.

Syntax

Output

row1, column1 row1, column2
row2, column1 row2, column2

List of Table Tags

Sr. No. Tagname Description
1 <table> Use it to create a table.
2 <tr> Used to create rows in a table. See HTML tr tag for more details.
3 <th> Used to create header cells in a table. See HTML th tag for more details.
4 <td> Used to create a cells in each rows of a table. See HTML td tag for more details.
5 <tbody> Used to group the body content of a table. See HTML tbody tag for more details.
6 <thead> Used to group the header content of a table. See HTML thead tag for more details.
7 <tfooter> Used to group the footer content of a table. See HTML tfooter tag for more details.

Resources and References

1. W3C Specification.
2. HTML living standard
3. W3C project using Github