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

tags Method

Internet Development Index

Retrieves a collection of objects that have the specified HTML tag name.

Syntax

collElements = object.tags(sTag)

Parameters

sTag Required. Variant of type String爐hat specifies an HTML tag. It can be any one of the objects exposed by the DHTML Object Model.

Return Value

Returns a collection of element objects if successful, or null otherwise.

Remarks

This method returns an empty collection if no elements having the given name are found. Use the length property on the collection to determine the number of elements it contains.

Example

This example uses the tags method to retrieve a collection of all p elements in the document, and then uses the textDecoration property to underline each element.

<SCRIPT LANGUAGE="JScript">
var coll = document.all.tags("P");
if (coll!=null)
{
for (i=0; i<coll.length; i++)
coll[i].style.textDecoration="underline";
}
</SCRIPT>

Standards Information

There is no public standard that applies to this method.

Applies To

all, anchors, applets, areas, boundElements, cells, children, elements, embeds, forms, images, links, options, plugins, rows, scripts, tBodies
永定县| 平塘县| 兴国县| 临洮县| 松江区| 大理市| 叶城县| 阿巴嘎旗| 奎屯市| 长宁区| 蓝山县| 河东区| 仪征市| 云安县| 武威市| 望都县| 上林县| 武平县| 伊通| 邢台市| 芜湖市| 肥西县| 绿春县| 盘山县| 和政县| 油尖旺区| 吉木乃县| 尼玛县| 杭锦后旗| 西乌珠穆沁旗| 镇赉县| 论坛| 墨竹工卡县| 拉萨市| 湘潭市| 荣成市| 保定市| 扶风县| 安福县| 高雄县| 荆门市|