HTML Links Flashcards

1
Q

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

A

< img src = “pictures.jpg” >

The “picture.jpg” file is located in the same folder as the current page.

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

< img src = “../picture.jpg” >

The “picture.jpg” file is located in the folder one level up from the current folder.

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.

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 an HTML element = < a > which is used to link from one page to another.

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