|
Dreamweaver MX 2004 Basics Computing Resources >> Tutorials >> Web Development >> Dreamweaver MX 2004 Basics |
|
Connecting to Your Server Space
|
LinksThere are two types of links in this world: absolute and relative. You should already be familiar with absolute links - these are links that are full URL addresses. Here's one example: http://www.ischool.utexas.edu Absolute links are used to direct a reader of your webpage to a place outside your webpage. Relative links point to a specific file within your webpage - the file's relation to the current directory or root directory. For example, if you have two files in your public_html directory, homepage.html and school.html, to link from one to the other you only need to insert the filename into Dreamweaver's link feature. When you have files within folders within your public_html folder, things become a little more complicated. Let's say you want to insert links on your homepage.html page to an image that is located in a folder named "images." You need to tell browsers to look in the "images" directory to find your images. Therefore, any links from homepage.html to files in your image folder would be like this example: "images/gnomes.jpg." The name of the folder is reflected within the file name. As is the case with many of Dreamweaver's functions, there are many paths to the same end. My preferred method for inserting links is through the Properties window:
|
|