Images

One of the attractive features of WEB is the incorporation of images in your HTML documents. The image below is incorporated with the tag IMG.

<IMG SRC="uvalogo.gif" ALT="UvA logo" ALIGN="BOTTOM">
UvA logo

The attributes are

SRC
specifies the URL where the picture can be found.
ALT
Not all graphics types are recognized by a browser. If a browser is unable to display the picture itself, the value of the ALT field is shown instead.ALT comes from alternative. At this moment, GIF-pictures and JPEG-pictures are displayed nicely by almost all browsers.
ALIGN
The positioning on the page is steered by the ALIGN field. Possible values are TOP, MIDDLE and BOTTOM (default). The Netscape browser allows you also other positions like LEFT and RIGHT. They refer to the margins of the displayed document.

Clock image Small little images that are used often, are called icons. You can insert them in your text easily as is done with this bullet . Often icons are stored in a central place on your WEB server, like in a directory /icons


Back Back to HTML Course Contents