JavaScript – DOM attributes.length Property
The attributes.length property returns the number of nodes in a NamedNodeMap.
The attributes.length property returns the number of nodes in a NamedNodeMap.
The Attributes name property returns the name of an attribute.
The collection item() method returns the element at a specified index in an HTMLCollection, which is an array-like list of HTML elements.
The Collection length property returns the number of elements in an HTMLCollection, which is an array-like list of HTML elements.
The collection namedItem() method returns a named element from an HTMLCollection, which is an array-like list of HTML elements.
The document.activeElement property returns the HTML element that has focus.
The document.addEventListener() method attaches an event handler to a document.
The document.adoptNode() method adopts a node from another document.
The document.baseURI property returns the base URI of the document.
The document.body property returns the document’s <body> element.
The document.characterSet property returns the character encoding for the document.
The document.close() method closes a document previously opened with the open() method.
The document.cookie property returns a semicolon-separated list of key=value pairs (document cookies).
The document.createAttribute() method creates an attribute and returns the attribute as an Attr object.
The document.createComment() method creates a comment and returns the comment node.
The document.createDocumentFragment() method creates a new document fragment that can be inserted into any document.
The document.createElement() method creates an element node.
The document.createEvent() method creates an event object.
The document.createTextNode() method creates a text node.
The document.defaultView property returns the document’s window object.