0

I have a few folders like Pages(html files go here), Javascript(script files), CSS(css files), images.

In my html file I wanna give path and I am not sure how I am supposed to give it. If the file is going to be in the same folder the following will work

<img src="a_logo.gif" alt=""/> 

But in my case I tried

<img src="../images/a_logo.gif" alt=""/>

which didn't work. Any leads?

Thanks

Folder Structure

Folder A
|
|-----Folder VT
      |
      |-----HTML(a.html)
      |-----JS
      |-----CSS
      |-----images

Inside a.html I wanna add js,css,images.

sahana
  • 601
  • 5
  • 12
  • 33

1 Answers1

1

Only use of images/a_logo.gif will help to run code properly,You dont need to write ../images/
so here is a code: <img src="images/a.gif" alt=""/>

Also, check if given images are present image folder and naming convention provided are right.

sahana
  • 601
  • 5
  • 12
  • 33
prajakta
  • 162
  • 4