Programmer's Guide > Interfaces > W3C Node interface > nodeType attribute
  
nodeType attribute
A code representing the type of the underlying object, as defined above.
nodeType
Access
read-only
Returns
unsigned short