prep-html-links Flashcards

1
Q

How do link to a file in the same folder as the current HTML document?

A

Just enter the name of the file. Because it is in the same folder as the current HTML document, there is no need to specify another folder with the “(folder name)/” syntax.

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

How do you link to a file in a folder one level up from the folder containing the current HTML document?

A

The syntax to link to a file in a folder one level up is “../” followed by the file name.

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

What is the difference between an absolute file path and a relative file path on the Web?

A

An absolute file path is the full URL to a file.
A relative file path points to a file relative to the current page.
It is always recommended to use relative file paths opposed to absolute file paths because the web page will not be bound to the current URL of the absolute file path. All links using relative file paths will work on your own computer and any current and future public domains.

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

What is a hyperlink?

A

A hyperlink is a word, phrase, or image that you can click on to jump to a new document or a section of the current document.

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