[scriptable, uuid(a6cf9078-15b3-11d2-932e-00805f8add32)]
interface nsIDOMElement : nsIDOMNode

Attributes

 The nsIDOMElement interface represents an element in an HTML or 
 XML document. 

 For more information on this interface please see 
 http://www.w3.org/TR/DOM-Level-2-Core/

 @status FROZEN
readonly attribute DOMString tagName

Methods


          
DOMString getAttribute(in DOMString name)

          
DOMString getAttributeNS(in DOMString namespaceURI, in DOMString localName)

          
nsIDOMAttr getAttributeNode(in DOMString name)

          
nsIDOMAttr getAttributeNodeNS(in DOMString namespaceURI, in DOMString localName)

          
nsIDOMNodeList getElementsByTagName(in DOMString name)

          
nsIDOMNodeList getElementsByTagNameNS(in DOMString namespaceURI, in DOMString localName)

          
boolean hasAttribute(in DOMString name)

          
boolean hasAttributeNS(in DOMString namespaceURI, in DOMString localName)

          
void removeAttribute(in DOMString name)

          
void removeAttributeNS(in DOMString namespaceURI, in DOMString localName)

          
nsIDOMAttr removeAttributeNode(in nsIDOMAttr oldAttr)

          
void setAttribute(in DOMString name, in DOMString value)

          
void setAttributeNS(in DOMString namespaceURI, in DOMString qualifiedName, in DOMString value)

          
nsIDOMAttr setAttributeNode(in nsIDOMAttr newAttr)

          
nsIDOMAttr setAttributeNodeNS(in nsIDOMAttr newAttr)