parentNode 获取文档层次中的父对象。
https://www.w3school.com.cn/xmldom/prop_element_parentnode.aspchildNodes 获取作为指定对象直接后代的 HTML 元素和 TextNode 对[……]

阅读全文