HTML tables allow web developers to arrange data into rows and columns.
Each table row starts with a
<tr> and ends with a </tr>tag.
tr stands for table row.Each table cell is defined by a
<td> and a </td>tag.
td stands for table data.Sometimes you want your cells to be table header cells. In those cases use the
<th> tag instead of the <td>tag:
th stands for table header.<thead>-> Groups the header content in a table<tbody>-> Groups the body content in a table<tfoot>-> Groups the footer content in a table
Top comments (0)