http://fishcaro.crosswinds.net/day_13_more_on_images_nse.htm
INDEX CARD #13:
USING A GRAPHIC AS A LINK (13a)<A HREF="URL_link"> <IMG SRC="URL_image"> Some text... </A> How can I tell when a graphic is being used as a link? When a graphic is used as a link, the default is usually a 1-pixel-wide border around the image (see the example above). You can change the width of the border by using the BORDER attribute. You specify the width of the border, in number of pixels:
<A HREF="URL_link"> <IMG SRC="URL_image" BORDER=2> </A> BORDER=0 , then the border will disappear.
Remember, however, that if you remove the border, then you're removing the visual clue that the graphic is a link, so your reader may not know to click on the image!
|
ALTERNATIVE TEXT FOR IMAGES (13b)How do I provide alternative text for a graphic? Use the <IMG SRC="URL_graphic" ALT="alternative text"> ALT to be a required attribute for the
<IMG> tag (but browsers aren't currently enforcing it).
|
Printable version of Index Card 13a
Printable version of Index Card 13b
WORKSHEET #13:
ASSIGNMENT #13: