Note: the returned-collection of this property only contains the <a> and <area> elements on a page that assigned a value for the `href` attribute.
This means if there’s an <a> element in a page but without the `href` attribute, then it won’t be added as the items in the returned a collection of this property.
document links Property Syntax:
document links Property Input Value
The property is read-only.
document links Property Return Value
The return value of this property is a reference to a collection that contains the <a> and <area> elements on a page that has the `href` attribute with a value assigned to it.