|
|
<IMG ...><MAP ...><AREA ...>
To make this image into an image map, we use this code:
which gives us this image map:
The code consists of three basic parts: the map definition (lines 3-13), the image (lines 15-17), and a set of text links (lines 19-21).
First we create the <MAP ...><MAP ...>NAME<AREA ...>
The first <AREA ...>HREF<A ...>ALT<IMG ...><AREA ...>ALTTITLE
SHAPECOORDSSHAPE=RECT. The series of comma separated numbers in
COORDS
In line 9, SHAPE=CIRCLE indicates that the area is a circle. The first two numbers define the center point of the circle, and the third number is the radius of the circle.
Line 10 creates a polygon area. A polygon is defined by three or more pairs of x/y coordinates. The lines connecting those coordinates create the area.
Line 13 closes the <MAP ...>
Lines 15-17 have the <IMG ...>SRCALTHEIGHTWIDTHUSEMAPUSEMAP<MAP NAME="map1">.
Take note: the hash mark (#) is required when you give the name of the map in the
USEMAPNAME<MAP ...>
Starting in line 19 we duplicate the links that are in the map using regular text links. This is an important part of the map because a significant number of people do not load images into web pages, and the text links create a useable alternative. Although theoretically the
ALT<AREA ...>
Creating an image map takes some time, but is achievable with patience. Go slowly and check your work as you go along. Good luck!
|
Recommended Resources |
|||
| web hosting tutorials Credit Help |
Search the Internet Search Engine Help |
Low Fat Lifestyle Internet Traffic |
Web
Hosting Web Design |
|
Discount
Hotel Reservations All
Rights Reserved, Copyright © Free-HTML-Tutorials.com 2003 |
|||