Absolute and Relative Links
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 external to 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) 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..."
- click the "General" button at the top of the window if it's not already
chosen
- in the "Category" column choose "Basic page"
- in the "Basic Page" column choose "HTML"
- in the lower right hand corner click on "Make document XHTML compatible"
- click "Create"
- give the page the title "Favorite Recipes"
- 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
with the tool tip "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."
Making Your First Web Page with Dreamweaver Workshop Navigation
- Making Your First Web Page with
Dreamweaver Workshop
- Opening Dreamweaver and Setting
Defaults
- Adding and Changing
Your Content
- Absolute and Relative Links
- Naming Files for the Web
- Viewing Your Web Page in
a Browser
- Creating a Site
- Letting the World See Your
Page
- Setting Preferences
- Basic Web Page Exercise
- Web Design
References
| Did you find what you were looking for?
YES
NO |
©2003 Regents of the University of Minnesota. All rights reserved.
The University of Minnesota is an equal opportunity educator and employer.
Last modified on 01/03/06
| Contact ITSS |
Privacy
|