Document.GetElementsByTagName

Document.GetElementsByTagName method

Returns a NodeList of all the Elements in document order with a given tag name and are contained in the document.

public HTMLCollection GetElementsByTagName(string tagname)
ParameterTypeDescription
tagnameStringThe tagname.

Return Value

Returns nodes.

See Also