HTML CSS Reference/HTML Attributes Reference/rel
"rel" Example
<HTML>
<head><Title>Example For rel</Title></head>
<BODY>
<a id="myL" href="examples.css" rel="stylesheet" target="_blank">
The style sheet is defined in examples.css.</a>
</BODY>
</HTML>
rel is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<a> <link> |
+----------------+--------------------------------------------------------------+
rel Possible Values
Possible Values
Possible values include
alternate (specifying a substitute document),
appen dix,
bookmark,
chapter,
contents (identifying a table of contents),
copyright,
glossary,
help,
index,
next (indicating the next in a sequence of documents),
offline,
prev (indicating the previous in a sequence of documents),
section,
shortcut icon,
start (indicating the first in a sequence of documents),
stylesheet
subsection.
"rel" Syntax and Note
Note:
This attribute describes the relationship between the document in href
and the current document.
Browser uses this information to deal with the referenced link in href.
Syntax:
<element rel="value"> . . . </element>