+ 2

On the Code playground for HTML, can file path in a pc location be used in place of URL to add an image?

Like this <img scr="web_picture.jpg" alt="" />

22nd Apr 2020, 12:22 AM
Genevieve NWAGWU
Genevieve NWAGWU - avatar
2 odpowiedzi
+ 3
Genevieve hello, No you can't, as your code is saved on sololearn's servers, your image file should also be within their servers, which are not accessible to us. So if you'd like to use your own image you'll have to upload it on a cloud service like Dropbox or imgbb or else and then copy/past the link to that file as your src. Here is a tuto From a sololearner, to do it with Dropbox: https://code.sololearn.com/WW6t4B73kJVz/?ref=app
22nd Apr 2020, 12:49 AM
EmmanueLZ.
EmmanueLZ. - avatar
+ 2
EmmanueLZ. Okay, thanks much.
22nd Apr 2020, 8:07 PM
Genevieve NWAGWU
Genevieve NWAGWU - avatar