HTML CSS Reference/HTML Attributes Reference/nohref
"nohref" Example
<HTML>
<head><Title>Example For nohref</Title></head>
<BODY>
<img src="http://www.wbex.ru" alt="" width=300 height=100 usemap="#myMap">
<map name="myMap">
<area shape="rect" coords="0, 0, 100, 50" nohref="true" onClick="alert("not activeregion")">
<area shape="rect" coords="100, 0, 200, 50" nohref="true" onClick="alert("notactive region")">
<area shape="rect" coords="200, 0, 300, 50" href="http://www.wbex.ru" >
<area shape="rect" coords="0, 50, 100, 100" href="http://www.wbex.ru" alt="">
<area shape="rect" coords="100, 50, 200, 100" href="http://www.yahoo.ru" alt="TheYahoo home page">
<area shape="rect" coords="200, 50, 300, 100" href="http://www.wbex.ru">
</map>
</BODY>
</HTML>
nohref is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<area> |
+----------------+--------------------------------------------------------------+
"nohref" Syntax and Note
Note:
This attribute indicates that the <area> in the <map> has no link.
It is a Boolean attribute, taking the values true and false.
Syntax:
<area nohref="value"> . . . </area>