W3Schools.com

HTML <area> nohref Attribute

HTML area Tag Reference HTML <area> tag

Example

An image-map, with clickable areas, and a nohref attribute:

<img src ="planets.gif" width="145" height="126" alt="Planets" usemap ="#planetmap" />

<map name="planetmap">
  <area shape="rect" coords="0,0,82,126" nohref="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>

Try it yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The nohref attribute is not supported in any of the major browsers.


Definition and Usage

The nohref attribute specifies that an area has no associated link.

Tip: The nohref attribute should inform the browser that an href attribute is not present. You could more easily do that by not including an href attribute.


Syntax

<area nohref="value" />

Attribute Values

Value Description
nohref Specifies that an area has no associated link


HTML area Tag Reference HTML <area> tag
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$3.98 Unlimited Hosting
Premium Website Design
WEB BUILDING
Download XML Editor
FREE Website BUILDER
Best Website Templates Top CSS Templates
CREATE HTML Websites
EASY WEBSITE BUILDER
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE