|
|||||||||
|
Images as hypertext linksImages, either alone or combined with text, can be used as the anchors for hypertext links. Clicking on the image with a mouse causes the browser to send a request to the server for the linked document or resource. This is done by placing the image element within the anchor element:
<A HREF="link-url"><IMG SRC="image-url"></A> This type of construct is commonly used to display a small thumbnail image, which is a link to a larger and therefore more bandwidth-hungry version of the same image, thus allowing the user to choose whether to use network resources to display what might be a very large file. Since there is no way for the user to know the size of the linked image file, it is good practice to indicate this in parentheses in the original documents.
Spinning the Web by Andrew Ford |
||||||
Copyright © 1996-2002 Ford & Mason Ltd |