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

HTML 5 <th> rowspan 屬性

實例

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

<table>
  <tr>
    <th>月份</th>
    <th>存款</th>
    <th rowspan="3">假日存款</th>
  </tr>
  <tr>
    <td>一月</td>
    <td>3000 元</td>
  </tr>
  <tr>
    <td>二月</td>
    <td>5000 元</td>
  </tr>
</table>

親自試一試

瀏覽器支持

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

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

定義和用法

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

HTML 4.01 與 HTML 5 之間的差異

無差別。

語法

<th rowspan="number">

屬性值

描述
number

規(guī)定表頭單元格應該橫跨的行數(shù)。

注釋:colspan="0" 告知瀏覽器使單元格橫跨到列組 (colgroup) 的最后一列。