HTML img Tag

November 11, 2010 by: aBisona

Example

An image is marked up as follows:

<img src=”angry.gif” alt=”Angry face” />

Try it yourself »
(more examples at the bottom of this page)


Definition and Usage

The <img> tag embeds an image in an HTML page.

Notice that images are not technically inserted into an HTML page, images are linked to HTML pages. The <img> tag creates a holding space for the referenced image.

The <img> tag has two required attributes: src and alt.

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
Have you found this script useful? Please support author by PayPal donation.
Filed under: HTML,Webmasters
Tags:

Leave a Reply