Chapter 2 Quiz Flashcards

1
Q

What tag is used to create a link?

A

a

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

The clickable part of the link is placed where?

A

Between opening and closing a tags.

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

What does href stand for?

A

Hypertext reference

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

What does the href attribute do?

A

Tells the browser where to go, gives the link for the destination

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

What is a URL?

A

A web address

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

How does a URL of an email link start?

A

a href=”mailto:example@gmail.com”

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

How does a URL of an outside website start?

A

http://

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

How do you create an image link?

A

a href=img src=”image.jpg” img a

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

How do you remove the border that appears around an image link?

A

border=”0”

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

How do you get a link to open a new web page?

A

“target=_blank”

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

Before you create a link within a web page, what do you need to do first?

A

You need a named anchor and to link it to the invisible spot it will take you to.

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

What tag and attribute do you use to create a named anchor?

A

a name=”name” a

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

How is the value of the href attribute for a link to a named anchor different from the value of the href attribute for any other link?

A

It contains the hashtag.

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

What does the # do?

A

Tells the browser the destination is on the same page.

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

In what situation are links within a page useful?

A

It can give viewers help and navigation in a big, long document so they can easily move around the website.

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

What are two ways to create a URL?

A

relative, absolute

17
Q

What is the difference between an absolute and relative URL?

A

Absolute takes you back to the root folder in the beginning and starts over, while relative takes as few steps as possible to move to somewhere else.

18
Q

How do you move up a folder using relative URL’s

A

../

19
Q

What does an absolute URL start with?

A

/