Returns an unsigned long giving the amount of children that the object has.
Returns an unsigned long giving the amount of children that the object has.
MDN
Returns a live HTMLCollection containing all objects of type Element that are children of the object.
Returns a live HTMLCollection containing all objects of type Element that are children of the object.
MDN
The ParentNode interface allows to traverse from an element to its children.
ParentNode is a raw interface and no object of this type can be created; it is implemented by Element, Document, and DocumentFragment objects.
MDN