getElementsByTagName

Retrieves a collection of objects based on the specified element name.

Parameters

name

Specifies the name of an element.

MDN Reference