•The <link> tag defines the relationshipbetween a document and an external resource.•The <link> tag is most used to link to stylesheets.• The <link> element must be embedded in thehead section, but it can appear any number oftimes.
charset Attribute•The charset attribute specifies the characterencoding of the linked document.•The default character-set for modernbrowsers is ISO-8859-1.•The charset attribute is not supported in anyof the major browsers.
href Attribute•" HREF" is for "hypertext reference“•The href attribute specifies the location (URL)of the external resource (most often a stylesheet file).•The href attribute is supported in all majorbrowsers.
media Attribute•The media attribute specifies whatmedia/device the target resource is optimizedfor.•This attribute is mostly used with CSSstylesheets to specify different styles fordifferent media types.•The media attribute is supported in all majorbrowsers.
rel Attribute•The rel attribute specifies the relationshipbetween the current document and thelinked document.•Only the "stylesheet" value of the relattribute is fully supported in all majorbrowsers. The other values are only partiallysupported.
rev Attribute•The rev attribute is not supported in any ofthe major browsers.•The rev attribute specifies the relationshipbetween the linked document and thecurrent document.
target Attribute•The target attribute is not supported in anyof the major browsers.•The target attribute specifies a window or aframe where the linked document is loaded.
type Attribute•The type attribute is supported in all majorbrowsers.•The type attribute specifies the MIME typeof the linked document.•The most common MIME type for thisattribute is "text/css", which describes astyle sheet.