Advertisement
Home Open Editor ❯

HTML <area> name Attribute

Deprecated: Not Supported in HTML5.

No standards suppor.

Example

<img src="desk.jpg" usemap="#image-map">

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

Try this code ❯

Meaning

The name attribute specifies names for the clickable area so that it can be scripted by older browsers.


Standard Syntax

<area name="uniqueName">


Advertisement

Attribute Values

Value Description
uniqueName Specifies unique name can be scripted by older browsers.
Home Open Editor ❯
Advertisement