Name

<link>

Synopsis

<link>

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.

Get Webmaster in a Nutshell, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.