getAttribute
Description
The getAttribute of Element for JS returns element’s first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.
Syntax
element.getAttribute(qualifiedName)
Parameters
qualifiedName
A qualified name.