Adding an Image-Html
Tag Name– <Image>
Description– It is basically used to add up an image into your web page. It supports many image file extensions like-JPEG(Joint Photographic Experts Group); PNG(Portable Network Graphic); GIF(General Image Format) etc. While the attributes which come along with this tag are as follows:-
- Src- i.e path of the image file on your computer.(value=”c:\\documents and settings\my documents\h.gif”)
- Width- i.e the width of the image.(value=”any integer value”)
- Height- i.e the height of the image.(value=”any integer value”)
- Border- i.e if you want the boder around your image.(value=”any integer value”)
- Alt- i.e the alternate text which you want to be displayed in case an error occured while image loading.(value=”abc”)
- Align- i.e to align any text which you have placed along with the image.(value=”top/bottom/middle/left/right”)
- Vspace- i.e to insert space at top & bottom of the image.(value=”any integer value”)
- Hspace- i.r to insert space at left and right of the image.(value=”any integer value”)
Ultimate Example
<html><head><title>IMAGE TAG</title></head><body><image src=”c://the path of the image in ur pc.file format(like gif etc.)” height=”70″ width=”200″ border=”3″ alt=”this is ultimate change”></body></html>



Reply