nodeType

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

MDN Reference