Link Preload

The tag defines the relationship between the current document and an external resource. The tag is most often used to link to external style sheets. The element is an empty element, it contains attributes only.


Stylesheet Preload

<link rel="preload" as="style" href="url" />

Javascript Preload

<link rel="preload" as="script" href="url" />
AttributeValueDescription
relpreloadSpecifies the relationship between the current document and the linked document
asstyleThe type of resource in the attribute
hrefThe path to the resource in the attribute