Understanding Links and File Structure

The links that you create depend on the file and folder structure of your site. It is good to understand how the paths work when creating links. The following illustration is an example of a possible site structure.

When you create a link to any document that exists outside the folder in which the current document is located, the path for the link will include the characters ../ preceding the filename. ../ is a command that tells the browser to go up one folder level from the current location. Each instance of ../ indicates moving up one folder level; you might have something similar to ../../filename.html ...

Get macromedia Dreamweaver 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.