When writing in HTML, the tag is used to mark out certain sections within an image map. It is useful when you want an image on your page to have multiple hyperlinks. The following sections contain information about this tag, including an example of it in use, and related attributes and browser compatibility.

Example code

Computer Hope

Example result

The element must be nested inside a tag.

  • Example code
  • Example result
  • Attributes
  • Deprecated 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

In an HTML tag, attributes dictate certain aspects of an HTML element. Attributes are made up of a name and value pair. All HTML tags support standard attributes. The following table shows all of the current unique HTML attributes for the tag, and a description of each.

Deprecated attributes

A deprecated attribute is one that may function currently, but is not supported going forward. Not being supported means that, while the attribute may work with the current version of HTML, it will eventually be phased out and become obsolete. It is better to avoid using these attributes to help future-proof your website.

Compatibility

, Browser, Compatibility, 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.
  • Make link prompt visitor to download .PDF, .DOC, or other files.
  • HTML and web design help and support.