the complete webmaster
tutorials reviews reference
ASP
CGI
FrontPage
HTML
Java
JavaScript

home / reference / html

<img></img>
align   alt   ismap   src   width   height   border   vspace   hspace   lowsrc   name

The <image> tag is used to insert an image into an html document.

<img align="">

   Description
   The align attribute is used to set the horizontal alignment of the image. Acceptable values are left, center, and right.
Code
   <img align="left"></img>
Appearance
  

<img alt="">

   Description
   The alt attribute is used to display alternate text in case the viewer's browser can not load the image.
Code
   <img alt="Alternate Text"></img>
Appearance
   Alternate Text

<img ismap="">

   Description
   The ismap attribute is used to tell the browser that the image is an image map.
Code
   <img ismap></img>
Appearance
  

<img src="">

   Description
   The src attibute is used to define the source of the image. To do this just enter the file path and/or file name of the image to be shown.
Code
   <img src="filename.jpg"></img>
Appearance
  

<img width="">

   Description
   The width attribute is used to define the width of the image, in pixels.
Code
   <img width="150"></img>
Appearance
  

<img height="">

   Description
   The height attribute is used to define the width of the image, in pixels.
Code
   <img height="150"></img>
Appearance
  

<img border="">

   Description
   The border attribute is used to create a border around the image, with it's width size specified in pixels.
Code
   <img border="10"></img>
Appearance
  

<img vspace="">

   Description
   The vertical space attribute is used to define how much vertical space is left between the image and other items on the page.
Code
   <img vspace="25"></img>
Appearance
  

<img hspace="">

   Description
   The hspace attribute is used to define how much empty space will be left between the image and other items next to it on the page.
Code
   <img hspace="50"></img>YOUR TEXT HERE
Appearance
   YOUR TEXT HERE

<img lowsrc="">

   Description
   The lowsrc attribute is used to specify a second image to be loaded initially while the viewer is waiting for a second, higher quality image to load. With this attribute specify a filename as in the src tag.
Code
   <img lowsrc="filename.gif"></img>
Appearance
  

<img name="">

   Description
   The name attribute allows you to name an image so that it can be accessed by scripts.
Code
   <img name="ImageName"></img>
write for us about us advertise

Copyright 1997, 1998 A Big Lime. All rights reserved.