The Image Tag
Spicing up your page with images
Most Browsers can automatically display inline graphic images
that end in GIF (Compuserve images Interchange Format)
and JPG (JPEG is the Joint Photographic Experts Group).
Other image formats require your Browser to link with Viewer programs
Multimedia formats
(audio, movies) require your Browser to link with
special player programs
Images in HTML files are commonly used as Icons, Pictures & Art,
and
as textured, or repeated graphic, page backgrounds.
The Image Tag <img ... />
- The img tag places images in your document at the tag location.
- The src attribute points to where the image file can be found.
- The alt attribute lets you display a text message on non-GUI Browsers.
- The Image Tag may also include:
- An align attribute
- Position text before (or after) the graphic at the "top," "middle," or "bottom"
- Position the graphic on the line at the "left," "center," or "right"
- The border attribute allows you put a 0 - 10 point border around your graphic.
- The height or width attribute permits you to size your graphic.
- The hspace or vspace attribute sets up a blank space around your graphic.
EXAMPLES
of images in many size and shape, etc., conditions...
Frequently Asked Link/images Questions
Hyperlinks:
Table of Contents
Questions? E-mail your Instructor -
Dr. Charles Rubenstein
Tutorial Copyright (c) 1996-2006
C.P.Rubenstein