Object: HTMLCollection
The HTMLCollection object is an array that contains an ordered collection of nodes. HTMLCollection objects are automatically updated when the underlying document is changed.
You can access an individual node within a collection by its index position using HTMLCollection.item(), by its name or id attribute using HTMLCollection.namedItem(), or you can index the object directly. For example, if you create an instance of a HTMLCollection object called myHTMLNodes, then specifying
HTMLCollection properties
HTMLCollection methods
Next topic:
Object: HTMLDListElement
Previous topic: HTMLCanvasElement methods