Example
A simple HTML table, with two table cells:Teach Yourself by BH24 HTML Editor Tool!<table border="1">
<tr>
<td>Cell A</td>
<td>Cell B</td>
</tr>
</table>
The <td> tag is supported in all major browsers.
Definition and Usage
The <td> tag defines a standard cell in an HTML table.An HTML table has two kinds of cells:
- Header cells - contains header information (created with the <th> element)
- Standard cells - contains data (created with the <td> element)
The text in <td> elements are regular and left-aligned by default.