'nohref' indicates that the 'area' in the 'map' has no link : nohref : Images HTML CSS TUTORIALS


HTML CSS TUTORIALS » Images » nohref »

 

'nohref' indicates that the 'area' in the 'map' has no link



    
<HTML>
<head><Title>Example For</Title></head>
<BODY>
<img src="http://www.navioo.com/style/logo.png" 
     alt="http://www.navioo.com" 
     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.navioo.com" >
   <area shape="rect" coords="0, 50, 100, 100" href="http://www.navioo.com" alt="">
   <area shape="rect" coords="100, 50, 200, 100" href="http://www.yahoo.com" alt="TheYahoo home page">
   <area shape="rect" coords="200, 50, 300, 100" href="http://www.navioo.com">
   </map>
</BODY>
</HTML>  
    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Images
» nohref