getAttribute
The getAttribute() method of the Element interface returns the value of a specified attribute on the element.
The getAttribute() method of the Element interface returns the value of a specified attribute on the element.