English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Referenzhandbuch

Komplettes Verzeichnis der HTML-Tags

HTML: <a> rel-Attribut

HTML <a> Tag

Online-Beispiel

Verwendung des rel-Attributs für Links:

    <a rel="nofollow" href="https://www.functravel.com/">Billige Flüge</a>
Testen Sie es heraus ‹/›

Browserkompatibilität

IEFirefoxOperaChromeSafari

Alle gängigen Browser unterstützen das rel-Attribut.

Hinweis:Obwohl der Browser das Attribut nicht auf irgendeine Weise verwendet, kann der Suchmaschinenanbieter das Attribut verwenden, um mehr Informationen über die Links zu erhalten.

Definition und Verwendung

Das rel-Attribut des <a>-Tags wird verwendet, um die Beziehung zwischen der aktuellen Dokument und dem verlinkten Dokument zu spezifizieren.

Nur wenn das href-Attribut verwendet wird, kann das rel-Attribut verwendet werden.

HTML 4.01 with HTML5differences

Some values have been removed, and some new values have been added.

Syntax

<a rel="value">

Attribute value

Value Description
alternate Optional version of the document (e.g., print page, translation page, mirror).
stylesheet External stylesheet of the document.
start First document in the collection.
next Next document in the collection.
prev Previous document in the collection.
contents Table of contents of the document.
index Index of the document.
glossary Glossary or explanation of terms used in the document.
copyright Document containing copyright information.
chapter Chapter of the document.
section Section of the document.
subsection Subsections of the document.
appendix Appendix of the document.
help Help documentation.
bookmark Related documents.
   
nofollow Google uses "nofollow" to specify that the Google search engine should not follow the link.
licence  
tag  
friend  

HTML <a> Tag