0

I want to include files in my html doc.

If for example the html doc is inside a folder1 with another folder2 which has a file I want to acces its simply /folder2/file . What If the html doc is inside a folder2 which is inside a folder1, in which there is another folder3 , in which I want to access the file?

Lisa
  • 1
  • 4
  • This may help you: https://stackoverflow.com/questions/908765/how-to-link-html-pages-in-same-or-different-folders – Rendolph Sep 28 '20 at 11:48

1 Answers1

0

../ is used to go one step behind the current directory that is your case which is folder1.From there go to folder3 and access the file.

Use ../folder3/file

Gnanavel
  • 740
  • 6
  • 18