Logo
Absolute & Relative Links
Home
Links
Anchors
Image Maps
Goldfish and Plants-Theatre Arts Pond, Rockville Campus

Absolute and Relative Links

 

This page provides information on how to code and use absolute and relative links.

 

Absolute Links. "Absolute links" give the full web address to a page outside your web site. This web address is known as the "URL." Here is a full URL:

Protocol Server Reserved Name Domain Name/ Folder File Name
http:// www. montgomerycollege. edu/ ~rkimball/ courses.htm
           

Relative Links

Relative links refer to links within a web page. There are three ways to code relative links:

Where is Link File located? Code
In same folder as current page <a href="file.htm">
In a folder "below" the current page <a href="folder1/file.htm">
Outside the folder holding the current page <a href="../folder2/file2.htm">

 

Dreamweaver will code all this for you if you use the "Point to File" button on the Property Menu to the right of the Link address box.

 

Contact Information

Raymond J. Kimball