The read-only nodeType property of a Node interface is an integer that identifies what the node is.
nodeType
MDN Reference