<link>: The HTML Link Element
1 Description
The HTML <link>
element is used to connect an html document
to an external resource. The most common use of the <link>
element is to connect a CSS stylesheet to an
HTML document.
2 Examples
<!DOCTYPE html>
<html>
<head>
<title>Link Element Example</title>
<link href="/css/main.css" rel="stylesheet"/>
</head>
<body>
<h1>This document has an external CSS stylesheet.</h1>
</body>
</html>
This document was last updated: