Programmer's Guide > Interfaces > W3C Node interface > attributes attribute
  
attributes attribute
A NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.
attributes
Access
read-only
Returns
NamedNodeMap