Someone help me display image in HTML !!!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Someone help me display image in HTML !!!!

HELP ME DISPLAY THE IMAGE IN HTML.. I made a basic code in HTML to display an image.. But It just won't work,I don't know whats wrong in it... When I used the same code to display a tree photo from Sololearn site it WORKED perfectly,but when I tried to add an image from my gallery,the image show error..... Please help me 🙏🙏.. Here a link to my code.... https://code.sololearn.com/WIffjkPDB1mx/?ref=app Problem solved... Thanks for your help..Everyone who answered...Thankyou...

4th Jan 2021, 12:36 PM
Krish
Krish - avatar
3 Answers
+ 5
Sololearn does not have access to your gallery. you need to include the link of the img in the src attr like so : <img src="https://....." /> if you want to include imgs stored in your pc or mobile you need first to upload it to a cloud based service like Google drive or dropbox and then copy the link from there . check this Tutorial https://code.sololearn.com/Wa25A17a19a1/?ref=app
4th Jan 2021, 12:57 PM
Med Amine Fh
Med Amine Fh - avatar
+ 3
Use the search bar to find similar questions and answers.
5th Jan 2021, 10:56 AM
Sonic
Sonic - avatar
0
Use the img tag <img src="" >
6th Jan 2021, 9:25 AM
Nyesigire Liberty
Nyesigire Liberty - avatar