nodeType
HTMO DOM中常用属性 nodeName nodeValue nodeType
(可以用来区别DOM对象和其他对象 if(obj.nodeType){}; )
nodeType 节点类型
1、element
2、arrtibute
3、text
4、cdata
5、entity refference
6、entity
7、PI (processing instructing)
8、comment
9、document
10、document type
11、document fragment
12、notation