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 = RECT

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

SHAPE=RECT indicates that the area is a rectangle. For a rectangle the COORDS attribute consists of two pairs of x/y coordinates. The first pair sets the coordinates of the upper left corner of the rectangle. The second pair sets the coordinates of the lower right corner.

For example, suppose the upper left is at 6,116 and the lower right is at 97,184:

test map rectangle

We would use the following code to indicate the shape. note that commas separate all the numbers in COORDS, not within pairs.

<AREA 
 HREF="contacts.html" ALT="Contacts" TITLE="Contacts"
SHAPE=RECT COORDS="6,116, 97,184">

which gives us the rectangle in this map:

Contacts Products New! map of GH site

SHAPE=CIRCLE >>>

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