Ch5: Graphics & Text Styling Basics Flashcards

1
Q

Which attribute specifies text that is available to browsers and other user agents that do not support graphics?

A

alt

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

Which of the following configures an image link to a web page when a graphic is clicked?

A

Code an img element that is contained within an anchor element with an href attribute for the hyperlink

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

Why should you include height and width attributes on an img element?

A

They help the browser reserve the appropriate space for the image

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

Which declaration configures an unordered list item with a square list marker?

A

list-style-type: squate;

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

Which CSS property will configure the font typeface?

A

font-family

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

Which configures a class called news with red text, large font, and Arial or sans-serif font using CSS?

A

.news {
color: red;
font-size: large;
font-family: Arial, sans-serif;
}

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

Which of the following configures a graphic to repeat vertically down the side of a web page?

A

background-repeat: repeat-y;

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

Which CSS property configures the background image of an element?

A

background-image

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

What is the process of creating an image with the lowest file size that still renders a good-quality image–balancing image quality and file size?

A

optimization

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

Which of the following graphic file types do not support transparency?

A

JPG

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