How can we insert IMG in html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

How can we insert IMG in html?

15th Sep 2019, 9:35 AM
Kishore Kumar BP
Kishore Kumar BP - avatar
15 Answers
+ 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.
16th Sep 2019, 7:28 PM
Aung Thiha
Aung Thiha - avatar
+ 4
<img src="https://www.abc.com/pig.jpg" alt="description ">
15th Sep 2019, 9:37 AM
wenz
wenz - avatar
+ 4
You can actually read it in sololearn tutorial
15th Sep 2019, 1:43 PM
I Love You (Challenge Me In C++)
I Love You (Challenge Me In C++) - avatar
+ 4
<img src=“location of the image” />
15th Sep 2019, 5:02 PM
Mayank Mani Tripathi
Mayank Mani Tripathi - avatar
+ 4
Thanks for your comments
6th Oct 2019, 1:55 AM
Kishore Kumar BP
Kishore Kumar BP - avatar
+ 3
<img src="image.jpg">
16th Sep 2019, 4:17 AM
Shaili Shah
Shaili Shah - avatar
+ 3
The html tutorial explains it.
16th Sep 2019, 8:32 AM
Sonic
Sonic - avatar
+ 3
<img src="image.jpg">
17th Sep 2019, 3:54 AM
Azim Shaikh
Azim Shaikh - avatar
+ 3
Thanks for your answer
6th Oct 2019, 2:22 AM
Kishore Kumar BP
Kishore Kumar BP - avatar
+ 2
There's a tag named img. Use it. Put url in a src attribute.
15th Sep 2019, 12:18 PM
Timur Myngbay
Timur Myngbay - avatar
+ 2
<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.
16th Sep 2019, 6:03 PM
Sanjay Rama
+ 2
<img src="source of the imagr" alt="description of the img" height="height for the img" width="width for the img">
17th Sep 2019, 8:46 AM
Abdulsalam 🇳🇬 Ishaq
Abdulsalam 🇳🇬 Ishaq - avatar
+ 1
<img src="image.jpg" /> <br />
20th Sep 2019, 8:52 AM
Shantanu Chandrakant Mali
Shantanu Chandrakant Mali  - avatar
+ 1
you can use img tag in html for inserting image in HTML.
28th Feb 2022, 2:23 AM
Abhishek Kumar
Abhishek Kumar - avatar