var txt1="<p>添加段落1</p>"; var txt2=$("<p></p>").text("添加段落2"); var txt3=document.createElement("p"); txt3.innerHtml="添加段落3"; 相关文章: