wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

#5 Codecademy/KhanAcademy Weekly Quiz:Font Families & CSS

Total questions: 9

Worksheet time: 9mins

Name
Class
Date
1.

There are a total of 4 font families that are safe for all browsers to use.

a)

True

b)

False

c)

Maybe

2.

Which of the following font families are not safe for all browsers to use?

a)

serif

b)

comic sans

c)

monospace

d)

fantasy

3.

In the attached image, the font-sized property has what characteristics?

a)

An exact measurement, just like pixels do.

b)

A relative measurement, depending on the other text, meaning if the text is smaller, the h2 will be smaller and vice versa.

c)

A random size, could be 5 times larger than text or 80 times larger.

d)

None

4.

According to the following image, what pixel size will the "h2" be given the body font size?

a)

18px

b)

12px

c)

24px

d)

48px

5.

In the following image, will the CSS properties render the same effect?

a)

Yes

b)

I don't know

c)

No

d)

Maybe

6.

In the following image, what is the property surrounded by a red rectangle?

a)

shorthand

b)

longhand

c)

additive fonts

d)

grandchild properties

7.

Please select all the CSS code that would render the following image.

a)

font-weight: bold;

b)

color: purple;

c)

background-color: yellow;

d)

font-style: normal;

e)

text-decoration: underline;

8.

Rules that trickle down from the "body" tag to other sections of your web page until you specify other tags, ids, or classes are called?

a)

CSS propergate effect

b)

CSS Child-down protocol

c)

CSS Trickle-Down Effect

d)

CSS inheritance

9.

According to the rules that allow CSS to trickle down unless specified otherwise, please select the font family for h2 that will ultimately be shown in a web browser

a)

font-family: fantasy;

b)

font-family: italic;

c)

text-align: center;

d)

font-family: cursive;