Jump to: navigation, search

Applies to  ?


The following example defines the map. Clicking within the rectangular areas of the map loads a new page into a target window named frame1.

<MAP NAME="map1">
   <AREA NAME="area1" COORDS="4,20,20,40" href="left_arrow.htm" target="frame1"/>
   <AREA NAME="area2" COORDS="116,20,100,40" href="right_arrow.htm" target="frame1"/>

The following example shows USEMAP with an image.

<IMG USEMAP="#map1" BORDER="0" SRC="double_pointed_arrow.png">

The following example shows USEMAP with an object. This technique requires Internet Explorer 8 and later.

<OBJECT data="double_pointed_arrow.png" border="0" type="image/gif" usemap="#map1">



The useMap property identifies the image as a client-side image map by associating a map object with the image. This map object contains area objects that define regions within the image. The user can click these regions to navigate to a designated URL. You can dynamically assign the maps to the image through the useMap property. In Microsoft Internet Explorer 6 and greater, this property applies to the object and input objects.


Standards information

See also

Related articles


… further results"html" is not in the list of possible values (Canvas, CSS Font, CSS Layout, Animation, Audio, Background, Border, Box Model, CSS Attributes, CSSOM, Combinators, Deprecated, Document Structure, Exclusions, FileSystemAPI, Filters, Flexbox, Fonts, Generated and Replaced Content, Gradients, Grid Layout, HTML, Multimedia, Media Queries, Mobile, Multi-Column, Off-line Storage, Paged Media, Performance, Pointer Events, Pseudo-Classes, Pseudo-Elements, Regions, Responsive Web Design, Ruby, Scrollbar, Selectors, Security, Shapes, Syntax, Tables, Text, Touch, Transforms, Transitions, Video, Visual Effects, Web Components, WebRTC, XHR) for this property.

Related pages (MSDN)

  • img
  • object
  • input


This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]