HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

td

Description

The td element for HTML represents a data cell in a table.

Syntax

HTML

<td attribute-name="attribute-value"></td>

Attributes

Global

NameValueDescription
colspanpositive integerNumber of columns that the cell is to span
headersIDREFSThe headers for this cell
rowspannon-negative integerNumber of rows that the cell is to span

CSS

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

Examples

1 · colspan

2 · headers

3 · rowspan

4 · CSS