HTML <a> rel-eigenschap
definitie en gebruik
rel
eigenschap bepaalt de relatie tussen het huidige document en het gelinkte document.
alleen bestaat href-eigenschap gebruik.
Tip:Zoekmachines kunnen deze eigenschap gebruiken om meer informatie over de link te verkrijgen!
voorbeeld
Links met een rel-eigenschap:
<a rel="nofollow" href="https://www.ch.com/">Goedkope vliegtickets</a>
syntaxis
<a rel="waarde">
eigenschapswaarde
waarde | beschrijving |
---|---|
alternate | Biedt een link naar een vervangende weergave van het document (bijvoorbeeld een printpagina, vertaling of mirror). |
author | Provide a link to the document author. |
bookmark | Permanent URL for bookmarks. |
external | Indicates that the referenced document does not belong to the same site as the current document. |
help | Provide a link to the help documentation. |
license | Provide a link to the document license information. |
next | Provide a link to the next document in the series. |
nofollow |
Links to unapproved documents, such as paid links. (Google uses 'nofollow' to specify that Google's search spiders should not follow this link). |
noopener | Any browsing context created through a hyperlink must not have an opener browsing context. |
noreferrer | Make the referrer unknown. When the user clicks on a hyperlink, the referrer header will not be included. |
prev | The previous document selected. |
search | Link to the document search tool. |
tag | Tags (keywords) of the current document. |
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |