Fonts Flashcards

1
Q

What do you add to a typeface when it consists of more than one word?

A

You add double quotes around the font, like so:

font-family: “Times New Roman”;

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

What can you do to ensure that the font you choose will be visible to all users?

A

You can use a link to a google font using the link element and the href attribute with the link, like so:

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

What are the three units of measurment for font sizes?

A

Percentages
Pixels
Ems

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

How would you make certain text bold and how would you make text to appear in italic?

A

font-weight: bold;

font-style: italic;

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

How would you change certain text to be uppercase, which results in less typing perhaps and cleaner looking code.

A

text-transform: uppercase;

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