Inserting an image in html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Inserting an image in html

How to insert an image in html document in a Android phone.? <img src="??“>

23rd Feb 2021, 2:13 AM
aslam Sidheeq
3 Answers
+ 1
If you want to add image in your html then there are two condition 1.=>the image you are using should be in your local means you import your img to the file which you have made 2.=>go to any website like I usually use pexels for image long tab the image which you want to add in your html file then a tab will open there will be open image option click on it then the image will open after in above side click where it tell that the website is secure or not on clicking on that a image link will appear copy then paste and finally you will get image =======OR========= you want your favourite image from your phone then you should see this code https://code.sololearn.com/WT3661NHpV3B/?ref=app
23rd Feb 2021, 4:25 AM
Anurag Kumar
Anurag Kumar - avatar
0
You can try to upload the image somewhere online, then use the URL and paste it to the src attribute! Hope it works :) Edit : You can use https://imgbb.com !
23rd Feb 2021, 2:23 AM
TheCoder