<img src="">

Browser
  • IE
  • Cr
  • Sf
  • Fx
  • O
Type

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

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