Absolute Links
Let's make an absolute link to the UMD home page. Absolute links use the whole "http://..." business and are needed for pages outside of your site.
- select the text "link to the UMD Home Page"
- go to the "Properties" panel
- click in the text entry window called "Link"
- type in the url of UMD which is http://www.d.umn.edu/
- hit the "enter" (Windows) or "return" (Mac OS) key
You now have a link!
Absolute links are needed when linking to another site. You may use them to link to pages within your own site, but there is another way that is simpler and more powerful.
Relative Links
Relative links should be used when linking to other pages within your site. An example would be a link from your home page to your "Favorite Recipes" page.
Create a new file to be called "Favorite Recipes". A relative link will be made to this file.
- go to the "File" menu
- choose "New..."
- in the dialog box click on the "General" tab
- in the "Category:" column choose "Basic Page"
- in the "Basic page:" column choose "HTML"
- click "Create"
- give the page the title "Favorite Recipes"
- make "Favorite Recipes" the heading 1 for the page
- save the page as "FavoriteRecipes.html"
- close the page
Now create the link to your "Favorite Recipes" page.
- select the text "link to my Favorite Recipes Page"
- go to the "Properties" panel
- click on the folder icon to the right of the "Link" text box called "Browse for File"
- browse to the file "FavoriteRecipes.html"
- double-click on the file name to create the link
To view a web page of the completed project follow this link to the completed project page.
If you have a question about Dreamweaver, don't forget to try Dreamweaver's help option. Look for the help choices under the menu "Help".
Let's move on to "Naming Files for the Web."