IMG Tag Attibutes
Learn how you can change the height, width, alignment, and border of an image.

Felix Pacing

Here's a table of formatting attributes supported by the IMG tag.

Attribute Value Effect
HEIGHT= Height Image Height (in pixels or %)
WIDTH= Width Image Width (in pixels or %)
HSPACE= Pixels Horizontal gutter (space around image)
VSPACE= Pixels Vertical gutter (space around image)
BORDER= Width Border width in pixels
ALIGN= BOTTOM Image Alignment relative to text
ALIGN= MIDDLE Image Alignment relative to text
ALIGN= ABSMIDDLE Image Alignment relative to text
ALIGN= TOP Image Alignment relative to text
ALIGN= LEFT Image Alignment relative to text
ALIGN= RIGHT Image Alignment relative to text



VA Linux Systems logo

   
I would appreciate comments, corrections, and
suggestions for how I can improve this course.

Nancy Blachman
Variable Symbols, Inc.
356 Bush Street
Mountain View, CA 94041-1332
650 966 8999
650 966 8998 fax
nancy- at -variablesymbols.com

If you want to learn how to search effectively using Google, visit Google Guide, which you can find at www.googleguide.com.