06 - HTML Relative Links Flashcards
How do you indicate the relative link to a parent directory?
Use ../ to indicate the folder above the current one, then follow it with the file name.
To link to the homepage from the music reviews: <a>Home</a>
How do you indicate the relative link to a child directory?
For a child folder, use the name of the child folder, followed by a forward slash, then the file name.
To link to music listings from the homepage:<a>Listings</a>
How do you indicate the relative link to a grandparent directory?
Repeat the ../ to indicate that you want to go up two folders
To link to the homepage from the DVD reviews: <a>Home</a>
How do you indicate the relative link to the same directory?
To link to a file in the same folder, just use the file name. (Nothing else is needed.)
To link to music reviews from the music homepage: <a>Reviews</a>