What is wrong in html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
8th Jan 2021, 3:37 AM
Divyansh Sharma
Divyansh Sharma - avatar
8 Answers
+ 9
Your src of image is wrong and if you want that how to copy image links from Google see this question :- https://www.sololearn.com/discuss/2390690/?ref=app
8th Jan 2021, 6:04 AM
ANMOL
ANMOL - avatar
+ 3
https://code.sololearn.com/Wa25A17a19a1/?ref=app
8th Jan 2021, 4:04 AM
Alphin K Sajan
Alphin K Sajan - avatar
+ 2
I think the image url you are using is the location of the image on your device. You need to host the image online and then use the URL of that image.
8th Jan 2021, 3:40 AM
Temporary
+ 2
but only online not from device add an image to html?
8th Jan 2021, 4:02 AM
Divyansh Sharma
Divyansh Sharma - avatar
+ 2
If you use the location of the image as url, you will be able to see the image in your local device. But if you want to host your website, the image needs to be hosted online and should have a url.
8th Jan 2021, 4:03 AM
Temporary
+ 2
e_o you say that I need to host the image online and then use the URL of that image. But I don't know how to please explain
8th Jan 2021, 4:12 AM
Divyansh Sharma
Divyansh Sharma - avatar
0
If the image is already hosted, you can copy it's url and try. To host the image yourself, you can use imgur, google drive, Dropbox etc. Just upload your image and use the shareable url.
8th Jan 2021, 4:18 AM
Temporary
0
https://t.me/Coders_Crafters join our Telegram group for discussion, DOUBT'S with everyone about coding. Let's interact with all coders About programming language like HTML CSS, JS, PY
8th Oct 2023, 5:26 AM
Alison Pinto
Alison Pinto - avatar