Web-Nation

How to Add Graphics to Your Web Pages

Code for 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: top, bottom, absmiddle, and 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.