0
Under review

html linking images

Joshua Geddes 4 years ago in iPad • updated by Kaan Bayur 1 month 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.

Update:

After restarting the application, It works.

Thank you.