Easy Tutorial
❮ Canvas Font Att Command Label ❯

HTML <td> rowspan Attribute

HTML <td> Tag

Example

The following HTML table contains a table cell that spans across two rows:


Browser Support

All major browsers support the rowspan attribute.

Note: Only Firefox and Opera support rowspan="0", which has a special meaning (see the "Attribute Values" table below).


Definition and Usage

The rowspan attribute specifies the number of rows a cell should span.


Differences Between HTML 4.01 and HTML5

None.


Syntax

Attribute Values

Value Description
number Specifies the number of rows a cell should span. Note: rowspan="0" tells the browser to make the cell span to the last row of the table component (thead, tbody, or tfoot).

More Examples

Using rowspan="0"


❮ Canvas Font Att Command Label ❯