How to link HTML page to other HTML page in the previous folder
Ok so if i put
link1.html and link2.html in a Folder5 and i put href in link1.html to lead to link2.html and from link2.html to link to link1.html it works.
But i have made link1.html to lead in a folder withing Folder5 called Folder6 where i you can find link2.html and if you click the link it will send you there.
But how to make the back connection... so that link2.html in Folder6 can lead to link1.html in Folder5 .. cuz if i put just the hreff to lead to link1.html i says that link1.html doesn't exist, because it's looking for it in Folder6... not in Folder5 that contains Folder6.
To do this type <a href="../link1.html" />
The "../" makes it go back a folder. So if you were two folders deep into our directory and you wanted to go back to the root folder you would use "../../"
|All times are GMT +1. The time now is 01:44 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.