最新国产好看的视频,伊人天堂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
宝兴县| 汾阳市| 磐安县| 南康市| 丰台区| 唐河县| 池州市| 双江| 临西县| 池州市| 浪卡子县| 句容市| 策勒县| 尉犁县| 会理县| 朝阳市| 宜宾市| 开封市| 抚远县| 临城县| 明星| 平罗县| 绥宁县| 金塔县| 徐闻县| 建德市| 鹰潭市| 霞浦县| 融水| 自治县| 大同市| 浠水县| 化州市| 井冈山市| 平陆县| 定远县| 个旧市| 大兴区| 清镇市| 安远县| 昂仁县|