Get a collection of the body element's child nodes:
The childNodes property returns a collection of a node's child nodes, as a NodeList.
Read more about the NodeList object in our NodeList object reference.
Tip: You can use the length property to determine the number of child nodes, then you can loop through all child nodes and extract the info you want.
The childNodes property is supported in all major browsers.
|Return Value:||A NodeList object, representing a collection of nodes|
|DOM Version||Core Level 1|
Your message has been sent to W3Schools.