HCI 201 Multimedia and the World Wide Web
Fall 1999 - Section 703 - The Image Tag
<IMG SRC="xxx.gif" ALT="xxxx">
It's a stand-alone tag.
SRC="url of image"
ALT="text describing image"
WIDTH="# of pixels wide"
HEIGHT="# of pixels high"
ALIGN="keyword"
For Vertical Alignment (as compared to surrounding text)
top
middle
bottom
absbottom
absmiddle
texttop
baseline
For Horizontal Alignment
left
right
HSPACE="# of pixels to pad to the sides"
VSPACE="# of pixels to pad at top & bottom"
To stop text-wrapping next to image:
<BR CLEAR="all">
Putting a link on a image
<A HREF="html1.htm"><IMG SRC="knit1.jpg"></A>
BORDER="# of pixels wide for border around image"
Image Tag Examples
Week 3
Previous
|
Next
Course Home
|
Announcements
|
Class Roster
|
Schedule
|
Syllabus