Coupon Accepted Successfully!


Image Tag

The Image Tag and the Src Attribute

In HTML, images are defined with the <img> tag.

The <img> tag is empty, which means that it contains attributes only and it has no closing


To display an image on a page, you need to use the src attribute. Src stands for "source".

The value of the src attribute is the URL of the image you want to display on your page.

The syntax of defining an image:

<img src="url" />


Test Your Skills Now!
Take a Quiz now
Reviewer Name