Under review

html linking images

Joshua Geddes 9 years ago in iPad updated by Kaan Bayur 5 years ago 2
Please I don't know how to link images (png) to the html code.
I have them in the same folder (png image and index.html) but in the body of index.html I put this code:
<img src= "img/avatar.png" alt="Avatar" />
Please help.
Under review
If the file is in the same folder, you shouldn't include a folder name in your src attribute. So it would look like this:

<img src="avatar.png" alt="Avatar" />

Hi, I have tried your way but the app doesn't find the image.


After restarting the application, It works.

Thank you.