embeds an image


<img src="">

Browser
Internet Explorer Firefox Opera
Type
Inline-block Empty

The IMG element embeds an image in the document.


<img src="example.gif" alt="Example">


Attribute Value Explanation
src=" " URL the URL of the image to display
Tips and Notes

The alt attribute must be specified for the IMG and AREA elements.

<img src="example.gif" alt="alternate text">


Example

<p><img src="image/example.gif" alt="TAG index"></p>
<p><img src="image/example.jpg" alt="The Rainbow Bridge"></p>
Output

TAG index

The Rainbow Bridge