HTML <area> rel ປະເພດ
ການສະແດງສະພາບແລະການນໍາໃຊ້
rel
ປະເພດມີຫົວຂໍ້ກຳນົດຄວາມສຳພັນລະຫວ່າງເອກະສານປະຈຸບັນແລະເອກະສານທາງໄລອອກ.
ພຽງແຕ່ມີ href ປະເພດ ໃນຕອນ.
ຕົວຢ່າງ
ໃຊ້ປະເພດ rel ເພື່ອກຳນົດຄວາມສຳພັນລະຫວ່າງເອກະສານປະຈຸບັນແລະເອກະສານທາງໄລອອກ:
<map name="planetmap"> <area shape="rect" coords="0,0,114,576" alt="Sun" href="sun.html" rel="alternate"> </map>
Syntax
<area rel="value">
Attribute value
Value | Description |
---|---|
alternate | Provides a link to the document representation (such as a print page, translation, or mirror). |
author | Provides a link to the document author. |
bookmark | Permanent URL for bookmarks. |
help | Provides a link to the help document. |
license | Provides a link to the document license information. |
next | Provides 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) |
noreferrer | Makes the referrer unknown. When the user clicks on a hyperlink, the referrer header will not be included. |
prefetch | Specifies that the target document should be cached. |
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 |