Hour 10Graphical Links and Imagemaps
If you haven’t been skipping around too much and you’ve read Hour 8, “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" alt="My image" /></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 ...
Get Sams Teach Yourself HTML and CSS in 24 Hours, Seventh 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.