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

COLS Attribute | cols Property

Internet Development Index

Sets or retrieves the number of columns in the table.

Syntax

HTML<TABLE COLS = iCount... >
ScriptingTABLE.cols [ = iCount ]

Possible Values

iCountInteger that specifies or receives the number of columns.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

Specifying this number can speed up the processing of the table.

Example

This example uses the COLS attribute and the cols property to set the number of columns in HTML and retrieve the number of columns in script.

<SCRIPT>
function checkCols(oObject)
{
var iColumns = oObject.cols;
alert (iColumns);
}
</SCRIPT>
</HEAD>
<BODY>
<TABLE ID=oTable BORDER COLS=3 onclick="checkCols(this)">
<TR><TD>Column 1</TD><TD>Column 2</TD><TD>Column 3</TD></TR>
</TABLE>
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

This property is a Microsoft extension to HTML Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

TABLE
德保县| 巧家县| 大丰市| 阿图什市| 阜新市| 大石桥市| 怀安县| 临洮县| 阿勒泰市| 黄龙县| 吴川市| 温州市| 西城区| 普宁市| 全州县| 玉溪市| 铅山县| 泾阳县| 来安县| 泸水县| 浮梁县| 靖州| 宜君县| 瓮安县| 左云县| 化州市| 绥江县| 刚察县| 邵阳市| 巴楚县| 偃师市| 会宁县| 潍坊市| 玉林市| 罗江县| 巴楚县| 阿克苏市| 锡林郭勒盟| 鹤峰县| 甘德县| 黄骅市|