Advertisement
Home Open Editor ❯

HTML <area> type Attribute

Deprecated: Not Supported in HTML5.

No standards suppor.

Example

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

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

Try this code ❯

Meaning

The type attribute specifies the media type in the form of a MIME type for the link target.


Standard Syntax

<area type="mediaType">


Advertisement

Attribute Values

Value Description
mediaType Internet media type of the link.
Home Open Editor ❯
Advertisement