Professional Documents
Culture Documents
Attr interface represents an attribute in an Element object. Typically, the allowable values for the
attribute are defined in a schema associated with the document. Attr objects are not considered
as part of the document tree since they are not actually child nodes of the element they
describe. Thus for the child nodes parentNode, previousSibling and nextSibling the attribute
value is null.
Attributes
The following table lists the attributes of the Attribute object −
https://www.tutorialspoint.com/dom/dom_attribute_object.htm 1/1