Image not rendering in html. (<img>)

Viewed 20

I believe my files are located in the same folder but for some reason it's just not working. Here is the screen shot of my folder. The screen shot of my folder

And here is the code... (The code is in index.html shown in the screen shot.)

<div>
  <img src="Tawsk.jpg" alt="Tawsk" width="460" height="345">
</div>

I don't know what the problem is... It will be great if you could provide me with some guidance. Thanks.

1 Answers

you forget some syntax to write "./" on your code

<div>
  <img src="./Tawsk.jpg" alt="Tawsk" width="460" height="345">
</div>

Related