欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

HTML 5 <td> rowspan 屬性

實例

下面的表格中包含一個橫跨兩行的單元格:

<table border="1">
  <tr>
    <th>月份</th>
    <th>存款</th>
    <th>假日存款</th>
  </tr>
  <tr>
    <td>一月</td>
    <td>1100 元</td>
    <td rowspan="2">8000 元</td>
  </tr>
  <tr>
    <td>二月</td>
    <td>1500 元</td>
  </tr>
</table>

親自試一試

瀏覽器支持

所有主流瀏覽器均支持 rowspan 屬性。

注釋:只有 Opera 瀏覽器支持 rowspan="0",該值有特殊的含義(請看下面的屬性值表格)。

定義和用法

rowspan 屬性定義單元格應(yīng)該橫跨的行數(shù)。

HTML 4.01 與 HTML 5 之間的差異

無差別。

語法

<td rowspan="number">

屬性值

描述
number

設(shè)置單元格應(yīng)該橫跨的行數(shù)。

注釋:rowspan="0" 告知瀏覽器使單元格橫跨到表格組件中的最后一個行(thead、tbody 或 tfoot)。