Forum Moderators: open

Message Too Old, No Replies

Anchor tag and links

Going up one folder

         

Adam5000

9:31 pm on Jun 9, 2006 (gmt 0)

10+ Year Member



I've got a basic question concerning anchors and hyperlinks. All of the pages of my website are stored in one main folder. And some of the pages are stored in subfolders inside the main folder. Linking from a page in the main folder to a page in one of the subfolders is pretty straightforward <a href="subfolder/page_two.html">Page two</a>

But in some cases it's necessary to link in the opposite direction from a page in one of the subfolders up to a page in the main folder. Going up one level instead of down.

And my question is, is there a way to link up one level from a page in one of the subfolders to a page in the main folder? If so, how is that done?

Fotiman

9:44 pm on Jun 9, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month




And my question is, is there a way to link up one level from a page in one of the subfolders to a page in the main folder? If so, how is that done?

Easy.
<a href="../yourpage.htm">

Adam5000

11:15 pm on Jun 9, 2006 (gmt 0)

10+ Year Member



Thank you Fotiman. That worked quite well and you were very helpful.