ourmission
theweb.gif (1103 bytes)
booksandbibles16
thenewsroom
governmentrm.gif (1147 bytes)
searchpage
tutorials
webtools
websecurity

What is the Web?

Privacy & Disclaimer
copyrights
notices
HOME

Visitors Since
Aug - 2004

Hit Counter

 

Linking to Other Documents Relative Links Versus Absolute Pathnames

bullet

In general - use relative links, because

bulletYou have less to type.
bulletIt's easier to move a group of documents to another location, because the relative path names will still be valid.
bullet

Use absolute pathnames when linking to documents that are not directly related.

bulletConsider a group of documents that comprise a user manual for relative links.
bulletLinks to other documents should use full path names.
bullet

WHY? - if you change the document’s directory, none of the links need to change.

Previous slide Next slide Back to first slide View graphic version

Notes:

In general, you should use relative links, because
You have less to type.
It's easier to move a group of documents to another location, because the relative path names will still be valid.
However, use absolute pathnames when linking to documents that are not directly related. For example, consider a group of documents that comprise a user manual. Links within this group should be relative links. Links to other documents (perhaps a reference to related software) should use full path names. This way, if you move the user manual to a different directory, none of the links would have to be updated.