why is the path for my img tag src attribute failing?

Viewed 56

I've tried every possible relative path combination I can think of and I'm still getting a broken img icon on my page when I try to load it. The only thing that works is when I test an absolute path from a sample pic on the web.

The image i'm trying to load is in the exact same directory as the html page I want to load it to.

My file structure is as follows

                              src -> 
                                  pages -> 
                                         home-> 
                                                - home.html 

                                                - vectorstock_1623.jpg

Home.html

<img src="vectorstock_1623.jpg"/>
1 Answers
Related