The Element.attributes property returns a live collection of all attribute nodes registered to the specified node. It is a NamedNodeMap, not an Array, so it has no Array methods and the Attr nodes' indexes may differ among browsers. To be more specific, attributes is a key/value pair of strings that represents any information regarding that attribute.
Returns the specified attribute of the specified element, as an Attr node.
The Element.getElementsByClassName() method returns a live HTMLCollection containing all child elements which have all of the given class names. When called on the document object, the complete document is searched, including the root node.
The Element.getElementsByTagName() method returns a live HTMLCollection of elements with the given tag name. The subtree underneath the specified element is searched, excluding the element itself. The returned list is live, meaning that it updates itself with the DOM tree automatically. Consequently, there is no need to call several times Element.getElementsByTagName() with the same element and arguments.
hasAttributeNS returns a boolean value indicating whether the current element has the specified attribute.
The Element.hasAttributes() method returns a Boolean value, true or false, indicating if the current element has any attributes or not.
The Element.id property represents the element's identifier, reflecting the id global attribute.
Returns a non-live NodeList of all elements descended from the element on which it is invoked that match the specified group of CSS selectors.
removeAttribute removes an attribute from the specified element.
removeAttributeNode removes the specified attribute from the current element.
removeAttributeNS removes the specified attribute from an element.
Adds a new attribute or changes the value of an existing attribute on the specified element.
setAttributeNode() adds a new Attr node to the specified element.
setAttributeNodeNS adds a new namespaced attribute node to an element.
setAttributeNS adds a new attribute or changes the value of an attribute with the given namespace and name.
Call this method during the handling of a mousedown event to retarget all mouse events to this element until the mouse button is released or document.releaseCapture() is called.
The HTML Applet Element (<applet>) identifies the inclusion of a Java applet.
The HTML basefont element (<basefont>) establishes a default font size for a document. Font size then can be varied relative to the base font size using the <font> element.
The HTML Big Element (<big>) makes the text font size one size bigger (for example, from small to medium, or from large to x-large) up to the browser's maximum font size.
The HTML Center Element (<center>) is a block-level element that can contain paragraphs and other block-level and inline elements. The entire content of this element is centered horizontally within its containing element (typically, the <body>).