8.6.2.7 Attr Objects

Attr inherits from Node, so inherits all its attributes.

name
The attribute name. In a namespace-using document it may have colons in it.

localName
The part of the name following the colon if there is one, else the entire name. This is a read-only attribute.

prefix
The part of the name preceding the colon if there is one, else the empty string.

See About this document... for information on suggesting changes.