When writing in HTML, the tag is used with the element to designate a client-side image map on a web page. It is useful when you want an image on your page to have multiple hyperlinks. The following sections contain information about the tag, including an example of it in use, and related attributes and browser compatibility.

Example of code

ComputerHope

Example result

The element must be nested inside a tag.

  • Example of code
  • Example result
  • Attributes
  • Compatibility
  • Related information

In the image above containing our logo, clicking the word “Computer” opens our computer definition page; clicking the word “Hope” opens our hope definition page.

Attributes

Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair; all tags support standard attributes. The following table shows the only current, unique, HTML attribute for the tag.

Compatibility

Browser, Client-side, Compatibility, Container tag, HTML a tag, Hyperlink, Logo, Target, URL, Web design terms

  • How to create links to sections on the same page in HTML.
  • How to create an HTML push-button link.
  • HTML and web design help and support.