HTM42


BACK

DESCRIPTION

OUTPUT

SOURCE CODE






DESCRIPTION:

      Internet Explorer and Navigator do not place images right next to text. Instead, they put a small margin of a few pixels in between text and an image. You can control the amount of horizontal space with the HSPACE attribute and the amount of vertical space with VSPACE attribute. The value of the HSPACE attributes sets the number of pixels of horizontal white space around the image (both left and right). The value of the VSPACE attributes sets the number of pixels of vertical white space around the image (both top and bottom).


..Back to the top..



OUTPUT:


HTM42. A Web page with image multiple use

Multiple use of image in Web page

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


..Back to the top..



SOURCE CODE:



<HTML>
<HEAD>
<TITLE>A Web page with image multiple use</TITLE>
</HEAD>
<BODY>
<H1><FONT COLOR = blue>Multiple use of image in Web page</FONT></H1>
<IMG SRC = l.jpg>
<IMG SRC = t.jpg WIDTH = 100 HEIGHT = 125>
<A HREF = www.yahoo.com>
<IMG SRC = 9.jpg ALT = �A GIF image drawn in Paint� BORDER = 5 ALIGN = center HSPACE = 10 VSPACE = 15 WIDTH = 100 HEIGHT = 125>
</A>
Text aligned middle<BR>
This text is place 15 pixels<BR>
below the image<BR>
</BODY>
</HTML>


..Back to the top..