Chapter 61. Choosing the Right Path


The path of a hyperlink is like a set of driving instructions for the browser. It tells the browser how to get to the page that loads when the visitor clicks the link.

GEEKSPEAK

The path of a hyperlink tells the browser how to get to the page that loads when the visitor clicks the link.


There are three types of paths: absolute, document-relative, and root-relative. Which path you choose depends on which way you want to tell the browser how to get to the linked page. An absolute path tells the browser how to get to the desired page from anywhere on the Web. A document-relative path tells the browser how to get to the desired page from the current Web page, while a root-relative path tells the browser how to get to the desired page from the current Web site. Each type of path has its merits and drawbacks, as this topic shows.

GEEKSPEAK

An absolute path tells the browser how to get to the desired page from anywhere on the Web. A document-relative path tells the browser how to get to the desired page from the current Web page. A root-relative path tells the browser how to get to the desired page from the current Web site.




Web Design Garage
Web Design Garage
ISBN: 0131481991
EAN: 2147483647
Year: 2006
Pages: 202
Authors: Marc Campbell

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net