Menu
Samaritan's Purse

GETELEMENTSBYTAGNAME

getElementsByTagName returns the list of elements whose qualified name is qualifiedName.

SYNTAX

collection = document.getElementsByTagName(qualifiedName)

EXAMPLES

ALL

FIRST

LAST

CHILD

INTERNAL

getElementById

getElementsByClassName

getElementsByTagNameNS

EXTERNAL

Web Hypertext Application Technology Working Group (WHATWG)