Definition
DOM Standard defines Attr
[Exposed=Window]
interface Attr : Node {
readonly attribute DOMString? namespaceURI;
readonly attribute DOMString? prefix;
readonly attribute DOMString localName;
readonly attribute DOMString name;
[CEReactions] attribute DOMString value;
readonly attribute Element? ownerElement;
readonly attribute boolean specified; // useless; always returns true
};
Methods and attributes that return objects implementing Attr
Document.createAttribute()Document.createAttributeNS()Element.getAttributeNode()Element.getAttributeNodeNS()Element.setAttributeNode()Element.setAttributeNodeNS()Element.removeAttributeNode()NamedNodeMap.item()NamedNodeMap.getNamedItem()NamedNodeMap.getNamedItemNS()NamedNodeMap.setNamedItem()NamedNodeMap.setNamedItemNS()NamedNodeMap.removeNamedItem()NamedNodeMap.removeNamedItemNS()