homepage Welcome to WebmasterWorld Guest from 54.196.201.253
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Relative Links
Linking UP with a relative link
dimo414




msg:596773
 3:16 am on Dec 31, 2005 (gmt 0)

Now, everyone always raves about relative links, and I can understand why, it makes alot of things easier. I don't use them very often, for one reason, I don't know how to go UP a directory.

A file in the top directory of my site (example.com, lets say) can relatively link to a lower folder, so instead of writing the link as http://www.example.com/photos/file.html I can just write photos/file.html. But if I'm editing photos/file.html, how do I relativley link back to the file in the top directory? And how do I relatively link to a file in a different folder than photos?

 

Farix




msg:596774
 3:54 am on Dec 31, 2005 (gmt 0)

./ <- current directory. Handy if you want to link to the index page without to use something like 'index.html'.

../ <- parent directory.

dimo414




msg:596775
 4:58 am on Dec 31, 2005 (gmt 0)

AH!

Thank you so much!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved