HTM41

DESCRIPTION
OUTPUT
SOURCE CODE

DESCRIPTION

Image hyperlinks. Images can be used, instead of text, as hyperlinks. Here is the code:





OUTPUT



A Web page with image hyperlinks

Web page with an image hyperlink

“A Text aligned middle
This text is place 15 pixels
below the image






SOURCE CODE



<HTML>
<HEAD>
<TITLE>A Web page with image hyperlinks</TITLE>
</HEAD>
<BODY>
<H2><B><CENTER><FONT COLOR = �blue�> Web page with an image hyperlink
</FONT></CENTER></B></H2>

<A HREF = www.yahoo.com>
<IMG SRC = �myImage.GIF� ALT = �A GIF image drawn in Paint� BORDER = 5 ALIGN = center HSPACE = 10 VSPACE = 15 WIDTH = 100 HEIGHT = 125>
</A> Text aligned middle
This text is place 15 pixels
below the image
</BODY>
</HTML>