The item of HTMLCollection for JS returns the element with index index from the collection. The elements are sorted in tree order.
element = collection.item(index) element = collection[index]
The number of preceding siblings, or 0 if it has none.
length
namedItem
Web Hypertext Application Technology Working Group (WHATWG)