The Attr interface represents an attribute in an Element object. Attr objects
inherit the Node interface, but since they are not actually child nodes of
the element they describe, the DOM does not consider them part of the
document tree. Thus, the Node attributes parentNode, previousSibling, and
nextSibling have a null value for Attr objects.