Creating Hypertext Documents Page 3

What To Do: Graphics In Documents

The Internet currently supports two graphical formats - JPG and GIF. Any good graphics program can create and/or convert graphic files to these formats. One Shareware graphics program that is available for trial use is Paintshop Pro from JASC, Inc.

Graphics are included in an HTML document by the "Image" command. Its format is:

<IMG SRC="abc.gif" width=200 height=150 alt="Abc.gif" >

The "IMG" command tells HTML to insert the graphics document named "ABC.GIF" into the page. The "width" and "height" commands specify the relative size of the graphic. The "Alt" command displays the text in place of the graphic until the graphic is actually loaded. This is useful if problems occur during loading. Below is the "abc.gif" graphic (the grandchildren) as included using the "IMG" command.

abc.gif

Next Page

Previous Page

Homepage