Link to home
Start Free TrialLog in
Avatar of djmichaelray
djmichaelray

asked on

Regarding Pointing to the right file on my webserver. Really simple question

what is the code i put in an  a href tag to point backwards in my folder structure.

Example:

if i had the following folder structure on my webserver

main_folder   which had 2 folders in side it
             Let call them Images and Video

Inside the images folder lets say there is one more folder called GALLERY

and inside the gallery folder is an html page we will call three_folders_deep.html
 
so from my index page which is found in main folder i can link to the three_folders_deep.html page by simply putting in

<a= href"image/gallery/three_folders_deep.html>

With me so far I hope. Okay so my quesiton is that if im coding the links for the three_folders_deep.html page and i want to link back to other index pages or pictures found in the main_folder (i.e 2 folders backwards from where we are now)  what would the structure look like

you can use a simple <a href> tag to show me an example thanks you
Avatar of hielo
hielo
Flag of Wallis and Futuna image

<a= href"/image/gallery/three_folders_deep.htm"l>

make sure you put quotes around the value.
Avatar of djmichaelray
djmichaelray

ASKER

thank you does the slash at the beggining in front of images change deping on how deep you go into folders?
ASKER CERTIFIED SOLUTION
Avatar of hielo
hielo
Flag of Wallis and Futuna image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial