elements:: metadata:: LinkBuilder
The HTML External Resource Link element (
<link>) specifies relationships between
the current document and an external resource. This element is most commonly used to link to
stylesheets, but is also used to establish site icons (both "favicon" style icons and
icons for the home screen and apps on mobile devices) among other things.
A type for initializing the element's attributes before calling
This attribute is only used when rel="preload" or rel="prefetch" has been set on theelement. It specifies the type of content being loaded by the , which is necessary for request matching, application of correct content security policy, and setting of correct Accept request header. Furthermore, rel="preload" uses this as a signal for request prioritization. The table below lists the valid values for this attribute and the elements or resources they apply to.
|fetch||fetch, XHR (also requires to contain the crossorigin attribute.)|
|SVG elements, CSS *-image rules|