HTM44

DESCRIPTION
OUTPUT
SOURCE CODE

DESCRIPTION

An HTML that uses two images in a Web page. The first page is as is, and scale the second one down by 50%.





OUTPUT



A Web page with scaled images

Web page with a scaled images

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






SOURCE CODE



<HTML>
<HEAD>
<TITLE>HTM43.A Web page with image list itemse</TITLE>
</HEAD>
<BODY>
<H2><B><CENTER><FONT COLOR = blue>
Web page with a scaled images
</FONT></CENTER></B></H2>
<!-- include the first image without scaling-->
<IMG SRC = myImage1.GIF ALT = �A GIF image without scaling� BORDER = 5 ALIGN = center HSPACE = 10 VSPACE = 15 WIDTH = 100
HEIGHT = 125>
Text aligned middle<BR
This text is place 15 pixels<BR>
below the image<BR>
<!-- include the second image with 50% scaling-->
<IMG SRC = myImage2.GIF ALT = �A GIF image with 50% scaling� BORDER = 5 ALIGN = center HSPACE = 10 VSPACE = 15 WIDTH = 100
HEIGHT = 125>
Text aligned middle<BR>
This text is place 15 pixels<BR>
below the image<BR>
</BODY>
</HTML>