+ 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
4 Answers
+ 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
+ 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.
+ 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
0
Images
https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML
audio:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
video:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
How To Upload your phone images on SoloLearn using phone
https://code.sololearn.com/WT3661NHpV3B/?ref=app
Upload content with Dropbox [Tutorial]
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
How to host/upload an image (IMGBB way)
/by Farhanaz/
https://code.sololearn.com/Wy3lrXNwGsgJ/?ref=app
Upload content with Google drive
https://code.sololearn.com/Wa25A17a19a1/?ref=app