Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Attribute for <AREA ...>
ALT = "text string"

Usage Recommendation
thumbs up use it

Looking for info on how to make an image map?

See our tutorial How to Make an Image Map
ALT, which works just like <IMG ALT="...">, indicates the alternative text to use for the link if the browser does not display the image (for example if the user is blind and uses a text browser). If you decide to put an imge map in your web page, don't look like an amateur and leave out alternate text.

For example, the following <AREA ...> tag indicates that the alternate text is Contacts:

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

which gives us the rectangle in this map:

Contacts Products New! map of GH site
[ Contacts ] [ Products ] [ New! ]

Some visual browsers do not utilize the ALT attribute but make user the TITLE attribute to display a prompt over the area, so it's a good idea to use both:

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

which gives us this map:

Contacts Products New! map of GH site
[ Contacts ] [ Products ] [ New! ]

 
 
  Copyright 1997-2002 Idocs inc. Published under the terms of the Open Content License Design by Interspire