Image not rendering in html. (<img>)

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.

Upvotes: 0

Views: 88

Answers (1)

M Naufal Helmi
M Naufal Helmi

Reputation: 107

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

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

Upvotes: 2

Related Questions