item
Description
The item of HTMLCollection for JS returns the element with index index from the collection. The elements are sorted in tree order.
Syntax
element = collection.item(index) element = collection[index]
Parameters
index
The number of preceding siblings, or 0 if it has none.