Name
<link>
Synopsis
<link>
Description
Define a link in the document <head> between this document and another document.
Currently this tag is implemented to provide links to style-sheet definition files and
font definition files.
Attributes
-
charset=charset Specify the character set used to encode the target of this link.
-
href=url Specify the hypertext reference URL of the target document.
-
hreflang=lang Specify the language used for the target’s contents using a standard two-character ISO language name.
-
media=list Specify a list of media types upon which this object can be rendered.
-
rel=relation Indicate the relationship from this document to the target. For Internet Explorer 3.0,
rel=style indicates the existence of an external style sheet.-
rev=relation Indicate the reverse relationship from the target to this document.
-
type=text/css Specify the MIME type for the linked document. Normally used in conjunction with links to style sheets, when the type is set to
text/css.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access