LINK
LINK provides a media independent method for defining relationships with other documents and resources. LINK has been part of HTML since the very early days, although few browsers as yet take advantage of it (most still ignore LINK elements).
LINK elements can be used in principle:
for document specific navigation toolbars or menus
to control how collections of HTML files are rendered into printed documents
for linking associated resources such as style sheets and scripts
to provide alternative forms of the current document
<!ELEMENT LINK - O EMPTY>
<!ATTLIST LINK
href %URL #IMPLIED -- URL for linked resource --
rel CDATA #IMPLIED -- forward link types --
rev CDATA #IMPLIED -- reverse link types --
title CDATA #IMPLIED -- advisory title string --
>
href
Specifies a URL designating the linked resource.
rel
The forward relationship also known as the "link type". It specifies a named relationship from the enclosing document to the resource specified by the HREF attribute. HTML link relationships are as yet unstandardized, although some conventions have been established.
rev
This defines a reverse relationship. A link from document A to document B with REV=relation expresses the same relationship as a link from B to A with REL=relation. REV=made is sometimes used to identify the document author, either the author's email address with a mailto URL, or a link to the author's home page.
title
An advisory title for the linked resource.
Here are some proposed relationship values:
rel=top
The link references the top of a hierarchy, e.g. the first or cover page in a collection.
rel=contents
The link references a document serving as a table of contents.
rel=index
The link references a document providing an index for the current document.
rel=glossary
The link references a document providing a glossary of terms that are relevant to the current document.
rel=copyright
The link references a copyright statement for the current document.
rel=next
The link references the next document to visit in a guided tour. It can be used, for example, to preload the next page.
rel=previous
The link references the previous document in a guided tour.
rel=help
The link references a document offering help, e.g. describing the wider context and offering further links to relevant documents. This is aimed at reorienting users who have lost their way.
rel=search
The link references a page for searching material related to a collection of pages
Example LINK elements:
Hi MikeBarron,
Wow, that's a lot of info. and very hard to understand! It's a lot for me to absorb, but I appreciate the info. and I think if I read it over a few more times things may sink in.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.