IMG Tag in HTML || Use of image tag || HTML IMG Tag

HTML IMG <img> Tag

0 2097

The HTML IMAGE <img> tag display an image on the web page. It is an empty tag that contains attributes like src, width, height, and alt.

In HTML, the <img> tag has no end tag while in XHTML the <img> tag must be properly closed.


<title>Img Tag</title>
<h2>HTML Image Example</h2>
<img src="code-1.png" alt="The codingtag logo"/>


Best WordPress Hosting


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price

Leave a Reply

    Waiting for your comments