The Node interface introduces the following methods for handling nodes.
- Node removeChild(Node oldChild)
- Node insertBefore(Node newChild, Node refChild)
- Node appendChild(Node newChild)--add as last child
- Node replaceChild(Node newChild, Node oldChild)