append  之后添加
prepend 之前添加
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Document</title></head><body><ul id="app"><li>html</li></ul><script>// append,prependvar app = document.getElementById("app");var p = "<h1>hello world<h1>";app.append(p);</script></body></html>

