Note: Read-only property. Returns the node type. Syntax: document.getElementById("elementID").nodeType document.all.elementID.nodeType // IE only