Il tag HTML <map>



Descrizione

Il tag HTML <map> serve per definire un immagine mappa lungo un tag <img>.

Esempio

<!DOCTYPE html>
<html>
<head>
<title>HTML map Tag</title>
</head>
<body>
<img src="/images/html.gif" alt="HTML Map" border="0" usemap="#html"/>

<!-- Create  Mappings -->
<map name="html">
   <area shape="circle" 
            coords="154,150,59" href="about/about_team.htm" alt="Team"
			target="_self" />
</map>
</body>
</html>

ProdurrĂ  il seguente risultato, troverai l' immagine mappa in basso a destra:

HTML Map Team

Attributi Globali

Questo tag supporta tutti gli attributi globali descritti in - HTML - Referenze Attributi

Attributi Specifici

The HTML <map> supporta anche i seguenti attributi aggiuntivi:

AttributoValoreDescrizione
nameunique_nameDefinisce un nome univoco per il tag map.

Attributi Evento

Questo tag supporta tutti gli attributi evento descritti in - HTML - Referenze Eventi

Compatibilità Browser

ChromeFirefoxIEOperaSafariAndroid
SiSiSiSiSiSi
html_tags_reference.htm
Advertisements