html-relative-links Flashcards

1
Q
  1. How do you indicate the relative link to a parent directory?
A

Use ../ to indicate the folder above the current one, then follow it with the file name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. How do you indicate the relative link to a child directory?
A

a child folder, use the name of the child folder, followed by a forward slash, then the file name.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. How do you indicate the relative link to a grandparent directory?
A

Repeat the ../ to indicate that you want to go up two folders (rather than one), then follow it with the file name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. How do you indicate the relative link to the same directory?
A

Use the file name or add a bit of precision with ./ before the file name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly