HTML <area> tipo Attributo

❮ Tag HTML <area>

Esempio

Utilizzare l'attributo type per specificare il tipo MIME dell'URL di destinazione:

<map name="planetmap">
  <area shape="rect" coords="0,0,82,126" alt="Sun"
  href="/images/sun.gif" type="image/gif">
</map>

Definizione e utilizzo

L' typeattributo specifica il tipo di supporto Internet (precedentemente noto come tipo MIME) dell'URL di destinazione.

Questo attributo viene utilizzato solo se l' hrefattributo è impostato.

Nota: questo attributo è puramente consultivo.


Supporto browser

Attribute
type Yes Yes Yes Yes Yes

Sintassi

<area type="media_type">

Valori di attributo

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>