GetElementsByTagName

Document.GetElementsByTagName method

返回具有给定标签名称并包含在文档中的所有元素的节点列表。

public HTMLCollection GetElementsByTagName(string tagname)
范围类型描述
tagnameString标记名。

返回值

返回节点。

也可以看看