Edit

HTML img Tag

The HTML <img> tag represents the image in HTML document. The <img> is a single tag it has no end tag. The <img> tag has two attribute src and alt. The src attribute define the image path or URL. The alt attribute provides alternative text for users who are unable to view the image. Sometime image is unable to view due to lost of internet connection.

Exmaple of Code

<img class="img-thumbnail" src="http://schools.inimisttech.com/upload/blogs/15501493511549346156product.png" alt="My Image">

Output

My Image