HTM44


BACK

DESCRIPTION

OUTPUT

SOURCE CODE






DESCRIPTION:

      BORDER � indicates the width of the border around the image in pixels. By default, the value is zero (doesn�t have a border) however, images used as hyperlinks have borders by default; use border = 0 to remove it.

SYNTAX: <IMG SRC = image_filename BORDER = pixels> By default, no border appears around an image unless that image is a link. If you use the BORDER = 1 attribute in an <IMG> tag, then a thin border will appear around the image.

      HEIGHT � indicates the height of the image in pixels. If not the actual height is specified, the image will be scaled to fit.
SYNTAX: <IMG SRC = image_filename HEIGHT = pixel>

      WIDTH � indicates the width of the image in pixels. If not the actual width is specified, the image will be scaled to fit.
SYNTAX: <IMG SRC = image_filename WIDTH = pixel>

      ALIGN � indicates the horizontal alignment of image.
SYNTAX: <IMG SRC = image_filename ALIGN = value>

      VSPACE � sets the vertical space in pixels above and below the image.
SYNTAX: <IMG SRC = image_filename VSPACE = pixel>

      HSPACE � sets the horizontal space in pixels beside the image.
SYNTAX: <IMG SRC = image_filename HSPACE = pixel>


..Back to the top..



OUTPUT:


HTM44. A Web page with tiling

Web page with tiling

This is the original image
Image list item
An image may be used as a list item in unordered, ordered, or definition lists.
“A
This is an image hyperlink as a list item.


..Back to the top..



SOURCE CODE:



<HTML>
<HEAD>
<TITLE>A Web page with tiling</TITLE>
</HEAD>
<BODY BACKGROUND = myBox.gif>
<H2><B><CENTER><FONT COLOR = blue>
Web page with tiling
</FONT></CENTER></B></H2>
<!-- include the image-->
<DL>
<DT><IMG SRC = l.jpg>
<DD>This is the original image
<DT><FONT COLOR = red>Image list item</FONT>
<DD>An image may be used as a list item in unordered, ordered, or definition lists.
<DT><A HREF = t.jpg>
<IMG SRC = 9.jpg ALT = �A GIF image drawn in Paint� BORDER = 5 ALIGN = center HSPACE = 10 VSPACE = 15 WIDTH = 100 HEIGHT = 125></A>
<DD>This is an image hyperlink as a list item.
</DL>
</BODY>
</HTML>


..Back to the top..