---
layout: single
elementName: link
---
Defines a link between the current web page and an external link or resource.
Example:
Copy
Defines the URL of the link. You can pass an absolute URL. You can pass a URL relative to the root domain. Defines a link type, explaining how the link relates to the current web page. The link is a stylesheet. The link is a favicon. The link is the web page's author website. The link is the next page. Defines the type of the linked resource. The link is a CSS file. The link is an HTML document.
#
link
href
"{{site.url}}/css/website.css"
"/css/website.css"
rel
"stylesheet"
"icon"
"author"
"next"
type
"text/css"
"text/html"