HTML Relative URL Flashcards

1
Q

How do you indicate the relative link to a parent directory?

A

Use ../ to indicate the directory 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

How do you indicate the relative link to a child directory?

A

Use the name of the child directory, 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

How do you indicate the relative link to a grand parent directory?

A

Use ../ twice to indicate that you want to go up two directories (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

How do you indicate the relative link to the same directory?

A

Just use the file name.

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