link element

The HTML element, usually in the head, that connects the page to another resource such as a stylesheet, a web app manifest or a resource hint.

In more detail

Its rel attribute says what the link is for: rel="stylesheet" loads CSS, rel="preload" fetches something early, rel="manifest" points to a web app manifest. Stylesheet links support the integrity attribute for Subresource Integrity.

Related terms

Taught in

References