HTML CSS Reference/HTML Attributes Reference/rel

Материал из Web эксперт
Версия от 11:20, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

"rel" Example

   <source lang="html4strict">
   

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


     </source>
   
  


rel is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Applied_To |<a> <link> | +----------------+--------------------------------------------------------------+

     </source>
   
  


rel Possible Values

   <source lang="html4strict">

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.


     </source>
   
  


"rel" Syntax and Note

   <source lang="html4strict">

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>


     </source>