|
One-Hour HTML Tutorial Lesson 5: Adding Pictures You use the <IMG> tag to add pictures to an HTML page. This tag has no close tag. The attributes for the <IMG> tag are:
SRC - This is the file name of the picture
(use path if in a different directory
HEIGHT (optional) - Define the height of the picture
WIDTH (optional) - Define the width of the picture
HSPACE (optional) - Define horizontal space from text
VSPACE (optional) - Define vertical space from text
ALT (optional) - Puts text description on graphic on mouseover
See examples below
|