1 2 3 4 5 6 7 8 9 10 11 12 13 14
Back to the Lessons Index

Add a Graphic to your Page

The code for Adding a graphic looks like this:

<IMG Height=150 Width=40 ALIGN=RIGHT SRC="yourgraphic.gif">
Start of Image Tag Image height and Width (in pixels). Considered bad form without these instructions, for they optimize image downloading time. Allows alignment WITHIN THE SAME line of graphics to other line elements. Other options are TOP, BOTTOM, ABSMIDDLE, and, of course, LEFT Graphic file name. Most common file formats are JPEGs (.jpg) or GIFs (.gif). Correct directory must be specified.

For real life examples of how height, width and alignment instructions within the <IMG>tags effect the display of the image, go the example images page!