+8

How can we insert IMG in html?

9/15/2019 9:35:04 AM

Kishore Kumar 🇮🇳

16 Answers

New Answer

+6

use img tag <img src="value" alt="hi"/> Before you put the value of your image, make sure that your image is on any website.

+5

You can actually read it in sololearn tutorial

+5

Have you looked at it ? https://www.sololearn.com/learn/HTML/1030/?ref=app

+4

<img src="https://www.abc.com/pig.jpg" alt="description ">

+3

<img src=“location of the image” />

+2

<img src="image.jpg">

+2

The html tutorial explains it.

+2

https://www.sololearn.com/discuss/1054246/?ref=app

+2

+2

<img src="image.jpg">

+2

Thanks for your comments

+1

There's a tag named img. Use it. Put url in a src attribute.

+1

<img class=“img” src=“1.jpg” write the name of the image for example my image name is 1.jpg and the image has to be in same folder as the .html to link the image or you can link using a web image link.

+1

<img src="source of the imagr" alt="description of the img" height="height for the img" width="width for the img">

+1

Thanks for your answer

0

<img src="image.jpg" /> <br />