children

The children JS ParentNode returns the child elements.

Syntax

collection = node.children

Examples

1 · collection

2 · collection

3 · items

4 · items · innerHTML

5 · items · tagName

append

firstElementChild

lastElementChild

prepend

querySelector

querySelectorAll

replaceChildren

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu