2. •The <link> tag defines the relationship
between a document and an external resource.
•The <link> tag is most used to link to style
sheets.
• The <link> element must be embedded in the
head section, but it can appear any number of
times.
3.
4. charset Attribute
•The charset attribute specifies the character
encoding of the linked document.
•The default character-set for modern
browsers is ISO-8859-1.
•The charset attribute is not supported in any
of the major browsers.
5. href Attribute
•" HREF" is for "hypertext reference“
•The href attribute specifies the location (URL)
of the external resource (most often a style
sheet file).
•The href attribute is supported in all major
browsers.
6. media Attribute
•The media attribute specifies what
media/device the target resource is optimized
for.
•This attribute is mostly used with CSS
stylesheets to specify different styles for
different media types.
•The media attribute is supported in all major
browsers.
7. rel Attribute
•The rel attribute specifies the relationship
between the current document and the
linked document.
•Only the "stylesheet" value of the rel
attribute is fully supported in all major
browsers. The other values are only partially
supported.
8. rev Attribute
•The rev attribute is not supported in any of
the major browsers.
•The rev attribute specifies the relationship
between the linked document and the
current document.
9. target Attribute
•The target attribute is not supported in any
of the major browsers.
•The target attribute specifies a window or a
frame where the linked document is loaded.
10. type Attribute
•The type attribute is supported in all major
browsers.
•The type attribute specifies the MIME type
of the linked document.
•The most common MIME type for this
attribute is "text/css", which describes a
style sheet.