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

HTML Referenzhandbuch

Komplettes Verzeichnis der HTML-Tags

HTML: <area> rel-Attribute

Der rel-Attribute bestimmt das Verhältnis zwischen dem aktuellen Dokument und dem verlinkten Dokument, wird nur verwendet, wenn das href-Attribute existiert.

 HTML <area> Tag

Online-Beispiel

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 ‹/›

Browserkompatibilität

IEFirefoxOperaChromeSafari

Alle gängigen Browser unterstützen den rel-Attribute

Definition und Verwendung

Der rel-Attribute bestimmt das Verhältnis zwischen dem aktuellen Dokument und dem verlinkten Dokument.
仅当存在href属性时使用。

is used only when the href attribute exists. 4HTML1 .05and HTML

The difference between the rel attribute in HTML5New attributes of the <area> tag in HTML.

Syntax

<area rel="value">

Attribute value

ValueDescription
alternateAlternative version of the document (such as print page, translation, or mirror)
authorLink to the author of the document
bookmarkPermanent URL for bookmarks
helpLink to the help document
licenseLink to the copyright information of the document
nextNext document in the options
nofollownofollow 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".
noreferrerIf the user clicks on a link, do not send HTTP referer header information.
prefetchThe specified target file should be cached
prevPrevious document in the options
searchThe document is linked to a search tool
tagTags (keywords) of the current document

 HTML <area> Tag