Advertisement
Home Open Editor ❯

HTML <area> nohref Attribute

Deprecated: Not Supported in HTML5.

No standards suppor.

Example

<map name="image-map">
  <area target="_blank" alt="Computer" nohref coords="112,31,285,246" shape="rect">
  <area target="_blank" alt="Cup" nohref coords="327,212,31" shape="circle">
  <area target="_blank" alt="Mobile" nohref coords="296,121,326,176" shape="rect">
  <area target="_blank" alt="Book" nohref coords="53,132,115,157,72,237,2,211" shape="poly">
</map>

Meaning

The nohref attribute specifies that no hyperlink exists for the associated area.

Note: The nohref attribute is not necessary, as omitting the href attribute is sufficient.


Standard Syntax

<area nohref="nohref">


Advertisement

Attribute Values

Value Description
nohref This is a boolean attribute, the presence of a boolean attribute on an element represents the true value, and the absence of the attribute represents the false value.
Home Open Editor ❯
Advertisement