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

Chapter 6. Adding Hyperlinks > Absolute and Relative Links

Absolute and Relative Links

Fundamental to using links is understanding the difference between what are called absolute and relative hyperlinks. An absolute link shows a file’s full Web address (http://www.peachpit.com/books/catalog/K5914.htm) while a relative link just includes the file name and the folder it’s stored in (/My Webs2/formatting.htm). You must use an absolute link any time you create a link to a Web page or file not on your own Web site, sometimes called an external link. Relative links should be used to link to files within your own Web site.

The advantage of relative links is that you can rearrange your Web site and files without breaking any links, which stymies Web browsers. Precisely because your home page has an absolute address, a Web browser can bounce from relative link to relative link within your Web site even if you move expensivepart.htm from www.yoursite.com/parts/ to www.yoursite.com/supplies/. Rearranging your site is inevitable. You’ll outgrow the original structure, find a better way to do it, or whatever. Follow the steps in To link to a page in your Web site and FrontPage will automatically create relative links—saving you the work of manually updating all those links later on.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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