HTML relative references summary |
File Reference |
Meaning (look for filename in...) |
"filename" | ...the current directory |
"/filename" | ...the root directory *see note |
"./filename" | ...the current directory |
"../filename" | ...the parent directory |
"../../filename" | ...the parent of the parent directory |
"folder/filename" | ...the subdirectory named "folder" |
"../folder/filename" | ...the subdirectory named "folder" off the parent directory |
* Some installations do not assign root status to the starting folders of student Web sites. As a student, your starting folder (yourname) has not been given root status. Therefore, references to files off the root will not be with respect to your student folder "root". For example "/filename" is a reference to komodo.utsystem.edu (the server's root) not to komodo.utsystem.edu/websystems/yourname (your "root"). Unix servers do provide for folder or site root designations. |