element是特殊的node
一段纯文本即text-node也是node 但不是element
w3c的原话是
A node can be an element node, an attribute node, a text node, or any other of the node types explained in the "Node types" chapter.
XML的节点与元素的区别
最新推荐文章于 2021-09-26 14:22:30 发布
element是特殊的node
一段纯文本即text-node也是node 但不是element
w3c的原话是
A node can be an element node, an attribute node, a text node, or any other of the node types explained in the "Node types" chapter.