develop with

link

Relationship values can be used in principle for document specific toolbars/menus when used with the link element in document head e.g. start, contents, previous, next, index, end, help to link to a separate style sheet (rel="stylesheet") to make a link to a script (rel="script") by stylesheets to control how collections of html nodes are rendered into printed documents to make a link to a printable version of this document e.g. a PostScript or PDF version (rel="alternate" media="print")

LINK Tag

Relationship values can be used in principle:

  a) for document specific toolbars/menus when used
     with the link element in document head e.g.
       start, contents, previous, next, index, end, help
  b) to link to a separate style sheet (rel="stylesheet")
  c) to make a link to a script (rel="script")
  d) by stylesheets to control how collections of
     html nodes are rendered into printed documents
  e) to make a link to a printable version of this document
     e.g. a PostScript or PDF version (rel="alternate" media="print")

Attributes are:

Attribute Description Default Value Values Required
charset a character encoding, as per [RFC2045](http://www.ietf.org/rfc/rfc2045.txt) no
href a Uniform Resource Identifier, see [RFC2396](http://www.ietf.org/rfc/rfc2396.txt) no
hreflang a language code, as per [RFC3066](http://www.ietf.org/rfc/rfc3066.txt) no
type media type, as per [RFC2045](http://www.ietf.org/rfc/rfc2045.txt) no
rel space-separated list of link types no
rev space-separated list of link types no
media single or comma-separated list of media descriptors no

Example:

<link 
charset="" 
href="" 
hreflang="" 
type="" 
rel="" 
rev="" 
media="" 
>
</link>

comments powered by Disqus

Want to see a topic covered? create a suggestion

Get more developer references and books in the developwith store.