最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

HTML DOM createTFoot() 方法

定義和用法

createTFoot() 方法用于在表格中獲取或創(chuàng)建 <tfoot> 元素。

語法

tableObject.createTFoot()

返回值

返回一個 TableSection,表示該表的 <tfoot> 元素。如果該表格已經(jīng)有了腳注,則返回它。如果該表沒有腳注,則創(chuàng)建一個新的空 <tfoot> 元素,把它插入表格,并返回它。

實例

下面的例子為表格創(chuàng)建了一個腳注:

<html>
<head>
<script type="text/javascript">
function createCaption()
{
var x=document.getElementById('myTable').createTFoot()
x.innerHTML="My table foot"
}
</script>
</head>
<body>

<table id="myTable" border="1">
<tr>
<td>Row1 cell1</td>
<td>Row1 cell2</td>
</tr>
<tr>
<td>Row2 cell1</td>
<td>Row2 cell2</td>
</tr>
</table>
<br />
<input type="button" onclick="createCaption()"
value="Create caption">

</body>
</html>
资中县| 洞头县| SHOW| 平武县| 九龙城区| 伊金霍洛旗| 七台河市| 周宁县| 响水县| 白城市| 辽源市| 江城| 永福县| 文登市| 建昌县| 板桥市| 仪陇县| 建阳市| 枞阳县| 阿拉善右旗| 潞城市| 保山市| 莱西市| 中阳县| 将乐县| 吕梁市| 烟台市| 攀枝花市| 新巴尔虎左旗| 无棣县| 仙桃市| 宜宾县| 镇康县| 长泰县| 花垣县| 富源县| 金阳县| 桃园市| 富川| 定远县| 监利县|