Main Index |
Top Of Tree |
Tag Index |
Tag History
- What is it?
- MAP is part of a HTML Working Draft from Spry that is now in the
HTML 3.2 Draft. It allows sub-areas of an image to be defined as hyperlinks
using a HTML encoding system (instead of the older, more time consuming ISMAP
method which requires an extra HTTP request and server-side processing map
file.) The Client-side imagemap model can be made backwardly compatible with
the old ISMAP model by specifying the USEMAP attribute in the
IMG tag where an ISMAP attribute is also present.
The USEMAP attribute takes as its value the URL of a Client Side Map
specification. The URL specified can either be in the current or an external file.
- Attributes
- Name
- 2 | 3
| 3.2 | IE1
| M2.1 | N2
- Required? No
- Description:
This attribute behaves the same as the A NAME attribute in defining
a destination within a document. It specifies the map location
within a file for reference by the IMG USEMAP attribute. They are
referenced in the IMG USEMAP attribute as either
"#mapname" [map is in the
current file] or "file/name#mapname"
[map location is in an external file] as appropriate.
- Values: Non-null alphanumeric
characters under 256 characters in length
Style Sheet Attributes
[More on Cascading Style Sheets]
- Class
- 2 | 3
| 3.2 | IE3B1
| M | N4B2
- Required? No
- Description:
This represents an assigned semantic classification grouping(s) for the
current tag.
- Values:
Given as a comma separated list of alphanumeric characters. Class names
may contain spaces (multiple consecutive spaces treated as a single
space.)
- ID
- 2 | 3
| 3.2 | IE3B1
| M | N4B2
- Required? No
- Description:
This assigns an alpha-numeric identifier that is unique
to this tag instance. Style sheets may use this attribute to reference
the current instance of this tag. Hyperlinks may also use this identifier
to serve as a destination.
- Values:
An alphanumeric string - initial character must be a letter followed
by alphabetic characters, digits, "-" or "."
characters. The allowable set of alpha-characters is restricted to the
A-Z and a-z set.
- Style
- 2 | 3
| 3.2 | IE3B1
| M | N4B3
- Required? No
- Description:
This attribute is a text string that provides rendering style
information for the current tag.
- Values:
Please see the description of
inline styles for more
information on how to use this attribute and its
possible values.
- Example
- <map NAME="clientsidemap">
<area SHAPE="rect" COORDS="0,0,100,100" HREF="http://www.foo.com/test.htm">
<area SHAPE="circle" COORDS="95,105,5" HREF="http://www.foo.com/test2.htm">
<area SHAPE="poly" COORDS="5,100,10,110,0,110" NOHREF>
</map>
<a HREF="cgi-bin/clientside.map"><img SRC="image.gif" ISMAP USEMAP="#clientsidemap"></a>
- Parent Model
-
%Anchors% |
%Virtual
Formatting% |
%Physical
Formatting% |
%Block Format
Parent% |
%Multimedia
Parent% |
<Body> |
<Address> |
<Basefont> |
<Heading> |
<Marquee>
- Content Model
- <area>
Tips & Tricks
- It is usually a good idea to include an ISMAP as an alternative to
Client Side Image maps, but authors sometimes may not have access to
run binaries on their host machines. In this case especially, and in
general, a THIRD alternative should be authored to allow navigation
via text links for users that do not have image capability.
Browser Peculiarities
- Netscape (even up to recent 4.0 Betas) does not allow the specification
of an external URL in the USEMAP attribute to the IMG tag as per the
specification (only internal anchors can be used.) Internet Explorer
behaves according to the specification.
Boring Copyright Stuff...