English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Der rel-Attribute bestimmt das Verhältnis zwischen dem aktuellen Dokument und dem verlinkten Dokument, wird nur verwendet, wenn das href-Attribute existiert.
Bilder-Mapping mit klickbaren Bereichen:
<!DOCTYPE html> <html> <title>HTML:<area> rel Attribute - Grundlegendes Tutorial-Netz oldtoolbag.com</title> <body> <p>Klicken Sie auf die Sonne, um sie aus der Nähe zu betrachten:</p> <img src="planeten.gif" breite="145" höhe="126" alt="Planeten" usemap="#planetmap"> <map name="planetmap"> <area shape="rechteck" coords="0,0,82,126" alt="Sonne" href="sonne.html" rel="alternate"> </map> </body> </html>Testen Sie es heraus ‹/›
IEFirefoxOperaChromeSafari
Alle gängigen Browser unterstützen den rel-Attribute
Der rel-Attribute bestimmt das Verhältnis zwischen dem aktuellen Dokument und dem verlinkten Dokument.
仅当存在href属性时使用。
The difference between the rel attribute in HTML5New attributes of the <area> tag in HTML.
<area rel="value">
Value | Description |
---|---|
alternate | Alternative version of the document (such as print page, translation, or mirror) |
author | Link to the author of the document |
bookmark | Permanent URL for bookmarks |
help | Link to the help document |
license | Link to the copyright information of the document |
next | Next document in the options |
nofollow | nofollow is a value of an HTML tag attribute. The meaning of this tag is to tell the search engine "do not track links on this web page" or "do not track this specific link". |
noreferrer | If the user clicks on a link, do not send HTTP referer header information. |
prefetch | The specified target file should be cached |
prev | Previous document in the options |
search | The document is linked to a search tool |
tag | Tags (keywords) of the current document |