HTML <พื้นที่> ประเภทแอตทริบิวต์
ตัวอย่าง
ใช้แอตทริบิวต์ type เพื่อระบุประเภท MIME ของ URL เป้าหมาย:
<map name="planetmap">
<area shape="rect" coords="0,0,82,126" alt="Sun"
href="/images/sun.gif" type="image/gif">
</map>
ความหมายและการใช้งาน
แอตทริบิวต์type
ระบุประเภทสื่ออินเทอร์เน็ต (เดิมเรียกว่าประเภท MIME) ของ URL เป้าหมาย
คุณลักษณะนี้จะใช้เฉพาะเมื่อ มีการ href
ตั้งค่าแอตทริบิวต์
หมายเหตุ:คุณลักษณะนี้เป็นเพียงคำแนะนำเท่านั้น
รองรับเบราว์เซอร์
Attribute | |||||
---|---|---|---|---|---|
type | Yes | Yes | Yes | Yes | Yes |
ไวยากรณ์
<area type="media_type">
ค่าแอตทริบิวต์
Value | Description |
---|---|
media_type | The Internet media type of the linked document. Look at IANA Media Types for a complete list of standard media types. |
❮ แท็ก HTML <พื้นที่>