PGDEL/DECP03/Unit3/08
From WikiEducator
Unit 3.3 Web application development tools & Technologies
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 |
| ALIGN |
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 |
Example:
<IMG Align=CENTER Border=0 height=50 Hspace=0 src=”image.jpg” width=100>
| Work in progress, expect frequent changes. Help and feedback is welcome. See discussion page. |
