getElementsByTagName (DOMElement - JavaScript)

Gets a node list of all descendant elements with a given tag name in the order in which they are encountered.

Defined in

DOMElement

Syntax

getElementsByTagName(name:string) : DOMNodeList