affiliate marketing

Thursday, December 17, 2009

Image Tag in HTML

Image Tag in HTML

  • HTML uses <img> tag to put image in its document.
  • Example: <img src="imgname.gif" alt="some text" title="some text">
  • src is an attribute. It is the URL of image.
  • alt is an attribute that describes about image
  • The height and width of the image can be changed using the Height and Width attributes respectively.
  • The value for the Height and Width attibutes can be in pixel or percentage(%).