| Relative Addressing: |
|
When to use Relative Addressing:
Keys to understanding relative addressing
Relative addressing is used usually to link to a web page published on the same site as the page you are on, and can also be used for files on the same server but not part of your site. |
Example of linking to another student site using relative addressing
Here is a link to the student found in wpd34 using relative addressing:
<A HREF="../wpd34/">Student wpd34</A>
The intitial ".." takes the browser one directory up from the directory we are currently in--we are currently in wpd1 which is inside the student directory, so going one directory up takes us to the student directory, and from there the URL specifies changing to the wpd34 directory.
Example of linking to your final project folder
If trying to link to your final project, you would also use relative addressing. It would look like this:
![]()
<A HREF="final/">Final project</A>