img tag

The <img> tag is used to add images to a web page with at least two attributes, the src attribute, for the source of image, and an alt attribute, for a description of image.

For example, the following line would add the image called logo.jpg into the web page.

<img src=”logo.jpg” alt=”Vskills logo” />

 

img tag

 

Back to Tutorial

Image, Audio and video formats
Image as links and image maps

Get industry recognized certification – Contact us

keyboard_arrow_up
Open chat
Need help?
Hello 👋
Can we help you?