docs.rodeo

MDN Web Docs mirror

HTMLAnchorElement

{{APIRef("HTML DOM")}} 

The HTMLAnchorElement interface represents hyperlink elements and provides special properties and methods (beyond those of the regular {{domxref("HTMLElement")}}  object interface that they inherit from) for manipulating the layout and presentation of such elements. This interface corresponds to <a> element; not to be confused with <link>, which is represented by HTMLLinkElement.

{{InheritanceDiagram}} 

Instance properties

Inherits properties from its parent, {{domxref("HTMLElement")}} .

Obsolete properties

Instance methods

Inherits methods from its parent, {{domxref("HTMLElement")}} .

Specifications

{{Specifications}} 

Browser compatibility

{{Compat}} 

See also

In this article

View on MDN