HTML th rowspan attribute


An HTML table with a header cell that spans three rows:
<table width="100%" border="1">
    <th rowspan="3">Savings for holiday!</th>

Definition and Usage

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

Browser Support

The rowspan attribute is supported in all major browsers.
Note: Only Opera supports rowspan="0", which have a special meaning (look below in the "Attribute Values" table).


<th rowspan="value">

Attribute Values

Value Description
number Sets the number of rows a header cell should span.Note: rowspan="0" tells the browser to span the cell to the last row of the table section (thead, tbody, or tfoot)
HTML th rowspan attribute Reviewed by 1000sourcecodes on 21:08 Rating: 5
Powered by Blogger.