Understanding the file path between the document youre linking from and the document youre linking to is essential to creating links.
Each web page has a unique address, called a Uniform Resource Locator (URL). For more information on URLs, see the World Wide Web Consortium website on naming and addressing at www.w3.org/Addressing/.
However, when you create a local link (a link from one document to another on the same site), you generally dont specify the entire URL of the document youre linking to; instead, you specify a relative path from the current document or from the sites root folder.
There are three types of link paths:
Using Dreamweaver, you can easily select the type of document path to create for your links (see Linking files and documents).
NOTE |
|
It is best to use the type of linking you prefer and are most comfortable with--either site or document relative. Browsing to links, as opposed to typing in the paths, ensures that you always enter the right path. |