! doctypehtmlhtmllang=' en ' headmetacharset=' utf-8 ' title document/title/headbodydivclass=' box ' p第一选择/pp第二选择p.innerHTML='最新选项'; box.parentnode.insertbefore(p,box ); //box前有元素//box.parent node.insertbefore (p,box.nextSibling ); 在//box之后添加元素/script/body/html