ข้อมูลอ้างอิงHTML

HTML โดยตัวอักษร HTML ตามหมวดหมู่ รองรับ HTML Browser แอตทริบิวต์ HTML HTML Global Attributes เหตุการณ์ HTML HTML สี HTML Canvas HTML เสียง/วิดีโอ ชุดอักขระ HTML HTML Doctypes การเข้ารหัส URL HTML รหัสภาษา HTML รหัสประเทศ HTML ข้อความ HTTP วิธี HTTP ตัวแปลง PX เป็น EM แป้นพิมพ์ลัด


HTML <area> relคุณสมบัติ

❮ แท็ก HTML <พื้นที่>

ตัวอย่าง

ใช้แอตทริบิวต์ rel เพื่อระบุความสัมพันธ์ระหว่างเอกสารปัจจุบันและเอกสารที่เชื่อมโยง:

<map name="planetmap">
<area shape="rect" coords="0,0,82,126" alt="Sun" href="sun.htm" rel="alternate">
</map>

ความหมายและการใช้งาน

แอตทริบิวต์relระบุความสัมพันธ์ระหว่างเอกสารปัจจุบันและเอกสารที่เชื่อมโยง

ใช้เฉพาะเมื่อมีhrefแอตทริบิวต์อยู่


รองรับเบราว์เซอร์

Attribute
rel Yes Yes Yes Yes Yes

ไวยากรณ์

<area rel="value">

ค่าแอตทริบิวต์

Value Description
alternate Links to an alternate version of the document (i.e. print page, translated or mirror)
author Links to the author of the document
bookmark Permanent URL used for bookmarking
help Links to a help document
license Links to copyright information for the document
next The next document in a selection
nofollow Links to an unendorsed document, like a paid link.
("nofollow" is used by Google, to specify that the Google search spider should not follow that link)
noreferrer Specifies that the browser should not send a HTTP referer header if the user follows the hyperlink
prefetch Specifies that the target document should be cached
prev The previous document in a selection
search Links to a search tool for the document
tag A tag (keyword) for the current document

❮ แท็ก HTML <พื้นที่>