description & Usage
The <td> tag forms the cells of the <table> tag.
The text inside the <td> tag is left aligned by default.
Browser compatibility and Support
# | Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
<td> |
Attributes
Attributes | Values | Description |
---|---|---|
colspan |
number
|
en |
headers |
header-id
|
en |
rowspan |
number
|
en |
Global Attributes
The td tag supports the HTML Global Attributes.
Event Attributes
The td tag supports the HTML Event Attributes.
More Examples
Default CSS
Most browsers will display the td tag with the following default style: