Text Links Ads : Marketing Tips Store : Search Engine Optimization Strategies
WebPosition Gold Pro : Domain Registration Bank : Optilink Software : GoDefy
Mike's Marketing Tools : Mike's Ecommerce Software : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML Codes > Images > <AREA ...> > SHAPE

SHAPE = POLY

Looking for info on how to make an image map? - See our tutorial How to Make an image Map

SHAPE=POLY indicates that the area is some type of polygon (i.e. a geometric shape consisting of s straight sides). For a polygon, each pair of coordinates in COORDS indicates a single corner of the polygon. The browser figures the shape by "connecting the dots" from one corner to the next.

For example, suppose the corners of the polygon are located at these coordinates:

... as shown in this diagram:

test map polygon

We would set the coordinates with code like this:

<AREA 
 HREF="new.html" ALT="New!" TITLE="New!"
SHAPE=POLY COORDS="150,217, 190,257, 150,297, 110,257">

which gives us the diamond shape in this map:

Contacts Products New! map of GH site

SHAPE=DEFAULT >>>

Copyright © 2002-8 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com