Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML area nohref property

HTML nohref property

HTML area Tag Reference HTML tag

Example

An image map with a clickable area using the nohref property:

Planets

usemap="#planetmap">

Sun Mercury Venus

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Currently no major browser supports the nohref property.


Definition and Usage

In HTML5, the tag no longer supports the nohref property.

The nohref property is a Boolean property.

This property specifies that an area has no associated link.

Tip: The nohref property indicates that the tag has no associated link. A simpler way is to not use the href property.


Differences between HTML and XHTML

In XHTML, attribute minimization is forbidden, so the nohref property must be defined as.


Syntax


HTML area Tag Reference HTML tag