The NodeList object represents an ordered collection of nodes.
The nodes in the NodeList can be accessed through their index number (starting from 0).
A NodeList object could be a Node's collection of child nodes.
![]()
The NodeList object is supported in all major browsers.
The "DOM" column indicates in which DOM Level the property was introduced.
| Property | Description | DOM |
|---|---|---|
| length | Returns the number of nodes in the collection | 1 |
The "DOM" column indicates in which DOM Level the method was introduced.
| Method | Description | DOM |
|---|---|---|
| item() | Returns the node at the specified index in a node list | 1 |
Your message has been sent to W3Schools.