+ 1
In Image tag which is <img src="" />,how can I write path if I want to add a picture from mobile phone?Is path is only for PC?
2 ответов
+ 3
If you write the code in SoloLearn Code Playground that's impossible, the best bet would be to put your image on public image hosting, like imgur:
https://imgur.com
If you're doing it on your device, you may try to use relative path to refer to the image, read about relative path here:
https://www.w3schools.com/html/html_filepaths.asp
Hth, cmiiw
+ 1
I use imgbb to get public address works great for me.