Create Nodes
We can create two kind of element
document.createElement('h1');
document.createTextNode('text');
Add Nodes
parentElement.appendChild('referentNode, newNode')
parentElement.append()
doesn’t work on Internet ExplorerparentElement.insertBefore('referentNode', newNode)
parentElement.insertAdjacentElement('positionNode','newNode')
node.outerHTML(read)
node.innerHTML(write)