Home > database >  Html Element wont load .png
Html Element wont load .png

Time:07-30

I received a 404 error and the image doesn't load. I'm quite sure that the path is correct

<img src="../assets/img/Logo.png" alt="Logo">

Here you can see my Folder Structure

CodePudding user response:

If the image doesn't load, most likely the path is not correct.

Did you try /assets/img/Logo.png?

The other possible reason is a server misconfiguration, but I'm assuming that this error is occurring in the development server, so that wouldn't apply.

  • Related