English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
HTML5L'attribut nohref de <area> n'est pas pris en charge, l'attribut nohref est un attribut booléen. Lorsqu'il est présent, il indique que la zone n'a pas de lien associé.
Carte image avec zone cliquable et attribut nohref :
<!DOCTYPE html> <html> <title>HTML: <area> nohref attribut - 基础教程网 oldtoolbag.com</title> <body> <p>Cliquez sur le soleil ou l'une des planètes pour l'observer de près :</p> <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.html" alt="Mercury"> <area shape="circle" coords="124,58,8" href="venus.html" alt="Venus"> </map> </body> </html>Vérifiez et voyez si ‹/›
IEFirefoxOperaChromeSafari
Aujourd'hui, tous les navigateurs populaires ne prennent pas en charge l'attribut nohref.
HTML5L'attribut nohref n'est pas pris en charge pour la balise <area>.
L'attribut nohref est un attribut booléen.
Quand il est présent, il indique que la zone n'a pas de lien associé.
Avis : L'attribut nohref indique que la balise <area> n'a pas de lien associé. Une manière plus simple est de ne pas utiliser l'attribut href.
Dans XHTML, la minimisation des attributs est interdite, l'attribut nohref doit être défini comme <area nohref="nohref" />。
<area nohref>