删除DOM元素 parent.removeChild(target)

p.removeChild(p.children[0]);
原文地址:https://www.cnblogs.com/hello321/p/7819297.html