The text property of the HTMLAnchorElement represents the text inside the element.
text
MDN Reference