• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 4. Setting Lots o' Links: Hyperlink... > Exploring Relative and Absolute Path...

Exploring Relative and Absolute Paths

Whenever you create a hyperlink or place an external file, such as an image file, in your Web page you need to enter its path. The two main types of paths are absolute paths and document relative paths.

An analogy for an absolute path is a house address. If I gave the address of my house to someone who lives in another town, I would tell them, “I live at 123 Spruce, Seattle, WA 98122, USA.” This is all of the information that anyone would need to get to my exact location or to send me a letter (this isn't my real address, so if you really want to send me a letter, send it in care of the publisher!). If I gave directions to my house to someone who lives on my street, I might tell them, “I live two doors south of you.” The directions in this case are relative to my neighbor's location. The first example is analogous to an absolute path, and the second example is analogous to a document relative path.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint