HTML <area> ketik Atribut
Contoh
Gunakan atribut type untuk menentukan tipe MIME dari URL target:
<map name="planetmap">
<area shape="rect" coords="0,0,82,126" alt="Sun"
href="/images/sun.gif" type="image/gif">
</map>
Definisi dan Penggunaan
Atribut type
menentukan jenis media Internet (sebelumnya dikenal sebagai jenis MIME) dari URL target.
Atribut ini hanya digunakan jika href
atribut diset.
Catatan: Atribut ini murni nasihat.
Dukungan Peramban
Attribute | |||||
---|---|---|---|---|---|
type | Yes | Yes | Yes | Yes | Yes |
Sintaksis
<area type="media_type">
Nilai Atribut
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. |
tag HTML <area>