Lesson 5: HTML Graphics
(Displaying a Graphic)

The image tag "<img />" has a collection of useful attributes (listed below). It is very important to assign width and height for each image so the browser will load your page leaving "holes" with the proper dimensions for the graphics. This will speed loading of your page.

Unlike most tags in HTML, the <img /> tag has no closing tag, thus the " /" (there is a space before the slash) is placed at the end of the tag to make it XHTML compliant.

     src : The location of the image file.
   width : The width of the image.
  height : The height of the image.
     alt : Text displayed in the image's absence.
  border : Thickness of the border around the image.