JavaScript:Node
lastmod 2026-11-10created 2023-02-192 edits
Node is the interface that is the common ancestor of every object that makes up the DOM tree. Elements (Element), text, comments, and documents (Document) all inherit from Node, and it provides navigation properties such as parentNode and childNodes as well as tree manipulation methods such as appendChild(), insertBefore(), and removeChild(). It shares only its name with the server runtime Node.js and is unrelated to it.
APIs
appendChild
insertBefore
See also
Pages that link here