var para = document.createElement("p"); var node = document.createTextNode("This is new."); para.appendChild(node);