Adding Graphics

There are a few good things to know how to do with graphics:


Adding a graphic

To add graphics to your page, you need to use
<IMG SRC="
http://www.someplace.com/directory/graphic.gif"> .

For example:

<IMG SRC="mail.gif">



If you do decide to use graphics, make sure that they don't take up much memory. Otherwise, it will take a long time for your page to load. People are impatient - they don't like to wait. So, try to keep your graphic sizes to a minimum, and don't use too many of them.

Be sure to use graphics that are in the right format. The best two to use are .jpg and .gif. Some people's browsers may not be able to show graphics in any other formats.



Aligning the graphic

This won't work with all browsers, but it will with Netscape.

To align to the left:

<IMG SRC="mail.gif " align=left>



To align to the right:

<IMG SRC="mail.gif " align=right>





Using a graphic for your background

To do this, put background in the <BODY> tag.

The Sample Page uses a graphic for its background. The code in that case is:

<BODY background="whitebg.gif ">



[Table of Contents] [More HTML] [Next Page] [Previous Page]

© 1996-2008 Suzanne Cook