HTML Relative Links Flashcards
1
Q
How do you indicate the relative link to a parent directory?
A
Use ../ to indicate the parent directory, followed by the file name.
2
Q
How do you indicate the relative link to a child directory?
A
Use the name of the child folder, then a forward slash, and the file name.
3
Q
How do you indicate the relative link to a grand parent directory?
A
Repeat ../ twice, indicating you want to go up two folders, followed by the file name.
4
Q
How do you indicate the relative link to the same directory?
A
Indicate the name of the file within that same directory.