English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

hi all,
I hav two html pages. say sports.html and other in cricket/cricket.html. In sports.html, i will giv the link to cricket.html as click to go to cricket page. Now what should i giv in cricket.html to go back to sports page ?? Note: cricket.html is in cricket directory and sports.html is in the root directory.

thanks

2006-08-13 22:40:38 · 3 answers · asked by sathesh 1 in Computers & Internet Programming & Design

3 answers

../sports.html

the ".." means "up one directory level".
Or you can use /sports.html, and then it will look for your main page in the root directory.

I advise on the 1st one, because you might want to put everything in another directory, and you'll lose the paths if you use the 2nd method... Always use relative paths (1st method) other absolute paths (2nd method) when possible.

the entire link would then be link to main sports page

2006-08-13 22:48:36 · answer #1 · answered by Anonymous · 2 0

If your directory system looks something like this:

\ --+--sports.html
+--cricket----cricket.html


write on "sports.html": answer #2 · answered by Bogdan 4 · 0 0

../sport.html

2006-08-14 05:49:36 · answer #3 · answered by 942 5 · 0 1

fedest.com, questions and answers