The rel and rev attributes,
used in the link and a
elements, describe the relationship between two resources
(such as web pages and stylesheets).
Here is a list of the recognized link types. When used
as a rel attribute, each link type defines
the relationship between the current document, denoted as C, and
some referenced resource, denoted
as R. (The rev attribute defines the same relationship but in reverse
order; in that case, C is
the referenced document, while R is the current document.)
stylesheet |
R is a stylesheet to be used
in rendering C.
This is probably the most common use of the link element. Here's an example.
Suppose you have a CSS stylesheet named gothic.css. To apply that stylesheet to
the current document, you would use this element:
<link rel='stylesheet' href='gothic.css' type='text/css'/> |
alternate |
R is another version of
C, perhaps in a different
language, or set up for a different media type.
|
appendix |
R is an appendix of
C.
|
contents |
R is the table of contents
for the set of documents that contains C.
|
copyright |
R is the copyright statement
for C.
|
glossary |
R contains definitions of
terms used in C.
|
help |
R is a document
providing help for users of C.
|
index |
R is the index for the set
of documents containing C.
|
next |
R is the next document in
sequence after C.
|
prev |
R is the preceding document
in sequence before C.
|
section |
R is a section of
the document starting at C.
|
start |
R is the first in a series
of documents that includes C.
|
subsection |
R is a subsection of
document C.
|