Even if
a tag <BASE> allows finding a file, question on relations between
documents is still opened. Importance of these relations grows proportionally to
growth of complexity of your documents. To support logic connection between them,
in HTML the tag is entered <LINK>.
Tag <LINK> specifies connection of the document containing the
given tag and other document or object. It will consist of the URL-address
and parameters, defining attitudes(relations) of documents. The heading of the document can contain any
amount of tags <LINK>.Tab. 1.1 describes parameters of a tag<LINK>and
their functions.
Table 1.1. Parameters of a tag <LINK>
|
Parameter |
Purpose |
| HREF |
Specifies the
URL-address of other document |
| REL |
Defines the relation between
current and other document |
| REV |
Defines the relation between
other document and current (the relation, the opposite REL) |
| TYPE |
Specifies type and
parameters of the attached table of styles |
Let's
result examples of a tag<LINK>
with parameters:
<LINK REL="contents" HREF ="../toc.html">
<LINK HREF="mailto:john@yahoo.com" REV="made">
The
first line specifies connection with a file of a table of contents of the
document (toc.html — table of contents) with the direct relation contents. The
second line describes connection with the URL-address of the author of the
document (with the return relation made).
Between documents there can be a set of various relations. Examples of
other values of parameter REL: bookmark, copyright, glossary, help, home, index,
toc, next, previous. Parameter REV can accept values also: author, editor,
publisher and owner.