HTML CSS Reference/HTML Attributes Reference/rel — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
м (1 версия)
 
м (1 версия)
 
(нет различий)

Текущая версия на 08:20, 26 мая 2010

"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>