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

Hour 3. Set Lots o' Links: Hyperlinks, U... > Explore Relative and Absolute Paths

Explore Relative and Absolute Paths

Whenever you create a hyperlink or place an external file in your Web page, such as an image file, you need to enter its path. The main two 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." 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 I give 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