Directories and Creating Links within a Web Site
(Supplement for Training Session 2) - Summer/Fall 1998

Directories

3 Ways to Create Links

-- Think of links as giving directions to the computer, telling it where to find a specific file.
1. Use the complete URL (web address) - best for external links
xxLINKxx(http://www.town.lib.il.us/community/churches/baptist.html, First Baptist Church)
2. Use the Absolute pathname - best for creating links within web site
The absolute pathname uses the full name of the file, from the root (main) directory through each subdirectory to the file. Absolute pathnames begin with a slash (/) indicating the filename is relative to the root directory.
xxLINKxx(/community/churches/baptist.html, First Baptist Church)
3. Use the Relative pathname (for more advanced users)
A relative pathname indicates where the file is in relation to a current directory. Because there is no slash at the beginning of the pathname, the computer knows the pathway is relative to the current directory.

[Contents]

Document: /manual/supplement/hccsup001.html
Last Modified: Tuesday, 08-Sep-1998 09:23:37 CDT
Copyright © 1997, 1998 Infobahn Outfitters, Inc.