Node.appendChild()

JavaScript’s Node.appendChild() method adds a child node to the end of the list of the Node’s children.

Element.before()

JavaScript’s Element.before() method inserts a set of Node or string objects before the Element.

Element.after()

JavaScript’s Element.after() method inserts a set of Node or string objects after the Element.

Element.prepend()

JavaScript’s Element.prepend() method inserts a set of Node or string objects before the first child of the Element.

Element.append()

JavaScript’s Element.append() method inserts a set of Node or string objects after the last child of the Element.