Hour 14. Graphical Links and Imagemaps

If you've read Hour 10, "Putting Graphics on a Web Page,"  you know how to make an image link to another document. (If you don't quite recall how to do it right now, it looks like this: <a href="gohere.htm"> <img src="image.gif" /></a> .)

You can also divide an image into regions that link to different documents, depending on where someone clicks. This is called an imagemap, and any image can be made into an imagemap. A Web site with medical information might show an image of the human body and bring up different pages of advice for each body part. A map of the world could allow people to click any country for regional information. Many people use imagemaps to create a "navigation bar" that integrates icons ...

Get Sams Teach Yourself HTML 4 in 24 Hours, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.