HTML <td> table data cell Tag Reference
The td HTML tag means table data cell, and it's the building block of a table.
Use it whenever you want to display actual data in a table.
The td HTML tag means table data cell, and it's the building block of a table.
Use it whenever you want to display actual data in a table.
The table data cellĀ can contain any kind of tabular data. They can be left empty if there is no data to fill them.
Use the table data cell only for actual data. If a cell contains an identifier for a row or column, you should use <th>
It’s valid in all current versions of HTML and xHTML, and it should always have a closing </td> tag.
You may also consider using:
Do you love our approach to crafting simple & effective web sites that just work for people?
We'd love to hear about your web strategy.
Contact one of our team today!
<table>
<thead>
<tr>
<th>This is a table header cell</th>
<th>This is a table header cell</th>
</tr>
</thead>
<tbody>
<tr>
<td>This is a table data cell</td>
<td>This is a table data cell</td>
</tr>
<tr>
<td>This is a table data cell</td>
<td>This is a table data cell</td>
</tr>
</tbody>
</table>