HTML Area Tipo de propiedad
Ejemplos
Con área de mapa de imágenes se puede hacer clic:
<img src="planets.gif" width="145" height="126" alt="Planets" usemap="#planetmap">
<map name="planetmap">
<area shape="rect" coords="0,0,82,126" alt="Sun"
href="../images/sun.gif" type="image/gif">
</map>
<map name="planetmap">
<area shape="rect" coords="0,0,82,126" alt="Sun"
href="../images/sun.gif" type="image/gif">
</map>
Trate »
Soporte para el navegador
Todos los principales navegadores soportan el atributo tipo.
Definición y Uso
tipo de atributo especifica el tipo MIME de la dirección URL de destino.
La propiedad se utiliza sólo en la propiedad tipo de atributo href se establece antes.
Nota: Este atributo es meramente consultivo.
Diferencias entre HTML 4.01 y HTML5
La propiedad type es una nueva propiedad HTML <área> etiqueta.
gramática
<area type="MIME_type">
propiedad Valor
值 | 描述 |
---|---|
MIME_type | 链接文档的 MIME 类型。. 查看标准MIME类型的完整 IANA MIME 类型 列表。 |