Element.GetElementsByTagName

Element.GetElementsByTagName method

Returns HTMLCollection object containing all elements with a given tag name, in document order.

public HTMLCollection GetElementsByTagName(string name)
ParameterTypeDescription
nameStringString representation of tag name.

Return Value

A live HTMLCollection of found elements.

Remarks

Refer to official spec.

See Also