English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
HTML5Das <area> nohref-Attribut wird nicht unterstützt, das nohref-Attribut ist ein boolesches Attribut. Wenn es vorhanden ist, wird angegeben, dass der Bereich keinen verknüpften Link hat.
Bildkarte mit klickbaren Bereichen und nohref-Attribut:
<!DOCTYPE html> <html> <title>HTML: <area> nohref-Attribut - Grundlagen-Tutorial-Website oldtoolbag.com</title> <body> <p>Klicken Sie auf die Sonne oder einen der Planeten, um ihn aus der Nähe zu betrachten:</p> <img src="planets.gif" width="145" height="126" alt="Planeten" usemap="#planetmap"> <map name="planetmap"> <area shape="rechteck" coords="0,0,82,126"nohref alt="Sonnen""> <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>Test it out ‹/›
IEFirefoxOperaChromeSafari
Currently, all mainstream browsers do not support the nohref attribute.
HTML5The <area> nohref attribute is not supported.
The nohref attribute is a boolean attribute.
If it exists, it specifies that the area does not have an associated link.
Tip: The nohref attribute indicates that the <area> tag does not have an associated link. A simpler way is to not use the href attribute.
In XHTML, attribute minimization is prohibited, the nohref attribute must be defined as <area nohref="nohref" />。
<area nohref>