zone HTML nohref propriété
Exemples
Avec cliquable carte zone de l'image, et utiliser nohref propriétés:
<img src="planets.gif"
width="145" height="126"
alt="Planets"
usemap="#planetmap">
<map name="planetmap">
<area shape="rect" coords="0,0,82,126" nohref alt="Sun">
<area shape="circle" coords="90,58,3" href="mercur.htm" alt="Mercury">
<area shape="circle" coords="124,58,8" href="venus.htm" alt="Venus">
</map>
usemap="#planetmap">
<map name="planetmap">
<area shape="rect" coords="0,0,82,126" nohref alt="Sun">
<area shape="circle" coords="90,58,3" href="mercur.htm" alt="Mercury">
<area shape="circle" coords="124,58,8" href="venus.htm" alt="Venus">
</map>
Essayez »
support du navigateur
Actuellement, tous les principaux navigateurs ne supportent pas la propriété nohref.
Définition et utilisation
HTML5 Le <area> est plus supporté nohref propriété.
propriété nohref est un booléen (Boolean) propriété.
Cet attribut spécifie une région n'a pas de lien associé.
Astuce: attribut nohref spécifie la <zone> balise n'a pas de lien associé. Une manière plus facile est d'utiliser l'attribut href.
Différences entre HTML et XHTML
En XHTML, attribut minimisation est interdit, la propriété nohref doit être défini comme <zone nohref = "nohref" />.
grammaire
<Zone nohref>