Html Flashcards

1
Q

What is a hyperlink?

A

A hyperlink is referred to as a link, linking to another Web page or to a section in the same Web page.

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

Which HTML element is used to create a hyperlink?

A

The A (anchor) element.

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

What can be specified as a hyperlink?

A

A text or an image.

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

What happens when the mouse is moved over a hyperlink?

A

The cursor changes into a hand with its index finger pointing towards the content.

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

What is the purpose of the href attribute in the A element?

A

Specifies the URL of the Web page to be linked or the value of the name attribute.

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

What does the hreflang attribute indicate?

A

Indicates the language of the destination URL.

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

What does the name attribute specify in the A element?

A

Specifies the section of the Web page, which is to be linked.

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

What is the basic syntax to create a hyperlink using the <a> tag?</a>

A

<a>Link text</a>

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

Complete the following: The <a> tag must be closed with _______.</a>

A

</a>

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

What is an example of a href attribute code?

A

<a></a>

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

Provide an example of a simple hyperlink in HTML.

A

<html><head></head><body><a>Click to view the Aptech Web site</a></body></html>

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

What does the target attribute of the A element specify?

A

The location where the linked Web page will open when a link is clicked

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

What value of the target attribute loads the target URL in a new blank window?

A

blank

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

What value of the target attribute loads the target URL in the same window as the current Web page?

A

_self

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

What value of the target attribute loads the target URL in the complete area of the window?

A

_top

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

Fill in the blank: The target attribute can assign values such as ______, _self, and _top.

17
Q

True or False: The target attribute only supports a single value.