+ 1

About set up image in html

I am a new student. I have tried to use image in html. Please see this code I have tried to make. But I can't put image.https://code.sololearn.com/WQ1PZH9T1obe/?ref=app

7th Mar 2019, 3:56 AM
Mahmud Hasan
Mahmud Hasan - avatar
2 odpowiedzi
+ 2
It's because the src attribute for your image has a relative path to somewhere on your own device, but it needs to be an absolute path. This doesn't work because SoloLearn won't access the photo from your device directly. An absolute path is the full location of the file, such as this image for example: https://i.imgur.com/xTMrwI4_d.jpg You could host your image somewhere online and use it in this same way.
7th Mar 2019, 4:21 AM
Austin