appendchild 在后面 添加只能添加节点
append 可以添加节点和字符串
document.createElement 创建节点
prepend 在被选元素的开始插入内容
<body><div id="app"><p>one</p></div><script>var app=document.getElementById("app");var p=document.createElement("p");var txt=document.createTextNode("hellow world");p.appendChild(txt);app.appendChild(p);
