|
|
3.4 Path StructureThere are two ways to write the path (URL) to a file or
element, either relative or absolute. Most Web developers prefer
relative paths because they are easier to manage for testing and when
sites change.
An absolute, or full, path looks something like this: /dmwork/dw/3_site_mgmt/4.html In this instance, we are specifying the path, beginning at "root" -- it's ideal for the Web path and local path to "match." Relative paths describe where a file lives "in relation" to other files in the site.
Next: Accessing the
Web server
|
this lesson
|
||||||||