document.write('

解析:

getElementById(id) 获取带有指定 id 的节点(元素);

removeChild(node) 删除子节点(元素);

appendChild(node) 插入新的子节点(元素);

createElement() 用指定的标记名创建新的 Element 节点对象;

createTextNode() 用指定的文本创建新的文本节点对象;

createAttibute() 用指定名字创建新的 Attr 节点对象。

');