+ 2

How to add image in HTML?

I'm writing HTML code in sololearn. I have to add an image url to code but that image stored in my PC. How can i add that image in sololearn

19th Dec 2019, 3:51 PM
Saikeerthi Kotha
Saikeerthi Kotha - avatar
4 odpowiedzi
+ 2
You must upload your picture in any cloud data storage service. For example dropbox. And then copy full path name link from it and paste to your tag <img> like this: https://code.sololearn.com/W0YYbYE1b35P/?ref=app
19th Dec 2019, 4:00 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 4
To add image on Sololearn you need proper path which will be available on any server or any website but your PC is known as local machine so you can't add image through that. To add image you can use DropBox which provides online link of your files which can be use here.
19th Dec 2019, 3:59 PM
A͢J
A͢J - avatar
+ 2
You can upload your photos to a free photo hosting service then use it's link in your code You can search in Google For free online photo hosting services
19th Dec 2019, 5:33 PM
Abdol Hashimi
Abdol Hashimi - avatar