English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Erforderliche rel-Attribut, das das aktuelle Dokument und das verknüpfte Dokument angibt/relationships between resources.
Eine externe Stilvorlage:
!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>HTML <link> rel-Attribut verwenden-Grundlagen-Tutorial(oldtoolbag.com)</title> <link rel="stylesheet" type="text/css" href="styles.css"> </head> <body> <h1>Ich bin mit einem verknüpften Style Sheet formatiert</h1> <p>Ich auch!</p>/p> </body> </html>Testen Sie es heraus ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the rel attribute.
The rel attribute is required and specifies the relationship between the current document and the linked document./relationships between resources.
in HTML5 Some HTML elements have been removed 4.01 Some new values have been added to the values in the syntax.
<link rel="value">
Value | Description |
---|---|
alternate | Link to an alternative version of the document (such as a print page, translation, or mirror). |
author | Link to the author of the document. |
help | Link to the help document. |
icon | Import an icon representing the document. |
license | Link to the copyright information of the document. |
next | Indicates that the document is part of a collection, and the next document in the collection is the referenced document. |
prefetch | Specifies that the target resource should be cached. |
prev | Indicates that the document is part of a collection, and the previous document in the collection is the referenced document. |
search | Link to a search tool for the document. |
stylesheet | URL of the stylesheet to be imported. |