files/en-us/web/api/htmllinkelement/index.md
{{ APIRef("HTML DOM") }}
The HTMLLinkElement interface represents reference information for external resources and the relationship of those resources to a document and vice versa (corresponds to <link> element; not to be confused with <a>, which is represented by HTMLAnchorElement). This object inherits all of the properties and methods of the {{domxref("HTMLElement")}} interface.
{{InheritanceDiagram}}
Inherits properties from its parent, {{domxref("HTMLElement")}}.
rel="preload" or rel="modulepreload".blocking attribute of the {{HTMLElement("link")}} element.high to fetch at a higher priority, low to fetch at a lower priority, or auto to indicate no preference (which is the default).imagesizes HTML attribute; a list of comma-separated image conditions and sizes.imagesrcset HTML attribute; a comma-separated list of image candidate strings.integrity attribute of the {{HTMLElement("link")}} element.media attribute of the {{HTMLElement("link")}} element.referrerpolicy HTML attribute indicating which referrer to use.rel HTML attribute, as a list of tokens.sizes HTML attribute, as a list of tokens.null if there is none.{{domxref("HTMLLinkElement.charset")}} {{deprecated_inline}}
{{domxref("HTMLLinkElement.rev")}} {{deprecated_inline}}
: A string representing the reverse relationship of the linked resource from the resource to the document.
[!NOTE] Currently the W3C HTML 5.2 spec states that
revis no longer obsolete, whereas the WHATWG living standard still has it labeled obsolete. Until this discrepancy is resolved, you should still assume it is obsolete.
{{domxref("HTMLLinkElement.target")}} {{deprecated_inline}}
No specific method; inherits methods from its parent, {{domxref("HTMLElement")}}.
{{Specifications}}
{{Compat}}