td

The td element represents a data cell in a table.

Attributes

<td attribute-name="attribute-value"></td>
Name Value Description
colspan positive integer Specifies the number of adjacent columns "spanned" by its td element
headers IDREFS Identifies one or more th elements that apply to its td
rowspan non-negative integer Specifies the number of following rows "spanned" by its td element

Global

CSS

td {
  display: table-cell;
  vertical-align: inherit;
}

Example | colspan

Example | headers

Example | rowspan

Example | CSS

External

W3C HTML 4.01 Specification

W3C HTML5

W3C HTML 5.1