Hyperlinks Flashcards

1
Q

Which of the following is an example of how to add a hyperlink using HTML?

A

<a>Home</a>

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

What element is used to create an internal bookmark (or link) within a webpage?

A

anchor

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

Examine the following link and identify if it is an internal link, relative link, or absolute link. <a>Back to Top</a>

A

internal link/bookmark

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

Examine the following link and identify if it is an internal link, relative link, or absolute link. <a>Home</a>

A

relative link

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

If you want to create a bookmark to a specific <div> element within a webpage, you must include the ___ attribute within that <div> tag.

A

id

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

To create an internal link or bookmark, you must use an anchor element with the ___ attribute that points to the bookmark value.

A

href

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

Examine the following link and identify if it is an internal, relative, or absolute link. <a>WGU</a>

A

absolute link

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

When creating a link to a bookmark, the # symbol used within the href value is known as a ___

A

hash

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

When the href attribute value used the hash symbol (#), the browser will look for a location within what document?

A

the current document

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

When the href attribute value does NOT use the hash symbol (#), the browser will look for a document located ___ ?

A

in an external document

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

True or False? When adding an anchor element to a webpage, you cannot link it to a PDF document.

A

False

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

True or False? You can wrap an image with an anchor element.

A

True

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