Name

<link> — NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4 - WebTV - Opera3

Synopsis

                     <link>
                  

Defines a relationship between the current document and another document. This tag goes within the <head> portion of the document. It is often used to refer to an external stylesheet.

Attributes

href= url

Identifies the target document.

methods= list

Specifies a browser-dependent list of comma-separated display methods for this link. It is not commonly used.

rev= relation

Specifies the relationship from the target document to the source.

rel= relation

Specifies the relationship from the current source document to the target.

rel=stylesheet

This attribute is used within the <link> tag to create a relationship with an external stylesheet.

title= text

Provides a title for the target document.

type= resource

Shows the type of an outside link. The value text/css indicates that the linked document is an external cascading style sheet.

urn= urn

Defines a location-independent Universal Resource Name (URN) for the referenced document. The actual syntax of the URN has not been defined, making this more of a placeholder for future versions of HTML.

Get Web Design in a Nutshell 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.