HTM43


BACK

DESCRIPTION

OUTPUT

SOURCE CODE






DESCRIPTION:

      The <IMG> tag, with its attributes, provides Web authors with the control they need to deal with images. It is used to incorporate graphics (typically icons or pictures) into an HTML document. Any image can be added to a web page, provided it is in GIF or JPEG file format. The attributes of the <IMG> tag are SRC, ALT, BORDER, WIDTH, HEIGHT, ALIGN, HSPACE, VSPACE, USEMAP, LONGDESC, and ISMAP.
      Lists allow Web authors to organize and indent text in Web pages. Lists could be used to describe components of a product, steps of a procedure, tasks of a plan, and organizational/hierarchical structures. HTML supports three types of lists: unordered, ordered, and definition. The difference between these types comes in their rendering.


..Back to the top..



OUTPUT:


HTM43. A Web page with image list items

Web page with image list items

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 image list items</TITLE>
</HEAD>
<BODY>
<H2><B><CENTER><FONT COLOR = blue>
Web page with image list items
</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 = l.jpg>
<IMG SRC = myImage.GIF 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..