Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
2.1.31 [HTML] Section 13.6.1, Client-side image maps: the MAP and AREA elements
Collapse the table of content
Expand the table of content

2.1.31 [HTML] Section 13.6.1, Client-side image maps: the MAP and AREA elements

V0055:

The specification states:

 Block-level content. This content should include A elements that specify the 
 geometric regions of the image map and the link associated with each region.

All Document Modes (All Versions)

A elements cannot be used to specify geometries; they can only be used to provide block-level content within a MAP element.

V0056:

The specification states:

 Note that the user agent should render block-level content of a MAP element.

All Document Modes (All Versions)

A elements cannot be used to specify geometries; they can only be used to provide block-level content within a MAP element.

V0057:

The specification states:

 When a MAP element contains mixed content (both AREA elements and block-level 
 content), user agents must ignore the AREA elements.

All Document Modes (All Versions)

MAP and AREA elements are rendered even if they contain mixed content. AREA and MAP elements may coexist because the use of the A element as a geometric region specifier for a MAP element is not supported.

This causes the HTML4 Test Suite [W3C-HTML4-TS] "Test 13_6_1-BF-02 Client-side image maps: the MAP and AREA elements" test case to fail. For more information about the failure, see section 3.1 in Appendix A: Test Case Failures.

V0058:

The specification states:

 If the user agent doesn't support the PNG format, it tries to render the GIF image.
  If it doesn't support GIF (e.g., it's a speech-based user agent), it defaults to 
 the text description provided as the content of the inner OBJECT element.

Quirks Mode and IE7 Mode (All Versions)

The content of the OBJECT element renders in a new frame as the frame attempts to navigate to the resource. If the resource fails to resolve, no further fallback will occur.

V0059:

The specification states:

 The following example illustrates how anchors may be specified to create inactive 
 zones within an image map. The first anchor specifies a small circular region with 
 no associated link. The second anchor specifies a larger circular region with the 
 same center coordinates. Combined, the two form a ring whose center is inactive and 
 whose rim is active. The order of the anchor definitions is important, since the 
 smaller circle must override the larger circle.
  
 <MAP name="map1">
 <P>
 <A shape="circle" coords="100,200,50">I'm inactive.</A>
 <A href="outer-ring-link.html" shape="circle" coords="100,200,250">I'm active.</A>
 </MAP>

All Document Modes (All Versions)

A elements cannot be used to specify geometries; they can only be used to provide block-level content within a MAP element.

Show:
© 2015 Microsoft