Attributes for <LINK ...>
REL = "text string"
REV = "text string"
REL
describes the relationship to another web page or other internet resource. For example, if the related resource is the home page for the web site, then we say
<LINK HREF="index.html" REL=HOME>
REV
describes the reverse relationship, how the other resource views the current document. If the related document is the home page, the current page is probably a child of the home page, so we'll describe the reverse relationship like this:
<LINK HREF="index.html" REL=HOME REV=CHILD>
The reverse relationship is the same value the related resource would put for REL
in its own <LINK ...>
tags. We use REV
because not all resources are web pages, and so don't have <LINK ...>
tags. For example, one of the most common uses of REV
is to say who is the author of the web page. This example shows a link which states that the current pages was
made (REV
attribute) by "Sarah Schoenfeld" (TITLE
attribute) and the resource about Sarah is her email address (HREF
attribute). It is also common to give the URL of the authors home page.
<LINK REV=MADE TITLE="Sarah Schoenfeld" HREF="mailto:[email protected]">
If we said REL
, that would mean this document made Sarah, which doesn't make sense.