From WikiEducator
< PGDEL‎ | DECP03‎ | Unit3
Jump to: navigation, search

Unit 3.3 Web application development tools & Technologies
Graphics to HTML documents

HTML accepts .gif and .jpg picture file formats and can place any static and animated images in the page.
The attributes of <IMG> tag are:

Attributes Description

Set alignments of the text and can have one of the following values:

                     TOP, MIDDLE, BOTTOM, LEFT, RIGHT and CENTER

BORDER Size of border
WIDTH Width of image
HIGHT Height of image
HSPACE Space to the left and right of the image
VSPACE Space to the top and bottom of the image
ALT Text displayed if the browser is unable to display image
SRC Location and name of the image file


                       <IMG Align=CENTER Border=0 height=50 Hspace=0 src=”image.jpg” width=100>

Road Works.svg Work in progress, expect frequent changes. Help and feedback is welcome. See discussion page. Road Works.svg