When you specify just the pathname of a linked file within quotes, the browser
looks for that file in the same directory as the current file. But linking pages
may be contained in different directories or folders.
href="file.html"
|
file.html is located in the current directory |
href="more/file.html"
|
file.html is located in the directory call more
(more directory is located in the current directory) |
href="../file.html"
|
file.html is located in the directory one
level up from the current directory |
|