Modern HTML and CSS from the Beginning (Including Sass) - Fonts In CSS

Modern HTML and CSS from the Beginning (Including Sass) - Fonts In CSS

Assessment

Interactive Video

Created by

Quizizz Content

Information Technology (IT), Architecture

University

Hard

The video tutorial covers the use of font properties in web design, focusing on font family, size, and style. It explains web safe fonts and font stacks, and demonstrates how to use Google Fonts. The tutorial also discusses adjusting font size and line height, and using font weight and style for text formatting.

Read more

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the font family property in CSS?

To define the style of the text

To set the color of the text

To specify the font size

To list different fonts to be used

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are web safe fonts?

Fonts that are not supported by any browser

Fonts that require a special license

Fonts that are only available on Windows

Fonts that are available on all browsers

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a font stack?

A collection of font sizes

A list of fonts to be used in order of preference

A group of font styles

A set of font colors

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you include Google Fonts in your HTML?

By embedding the font in a JavaScript file

By downloading the font files

By using a link tag in the HTML

By using a special browser extension

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default font size in HTML?

16 pixels

14 pixels

18 pixels

12 pixels

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the line-height property control?

The color of the text

The space between lines of text

The width of the text

The font style

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between absolute and relative units in CSS?

Absolute units are fixed, while relative units are based on other elements

Absolute units are larger than relative units

Absolute units are only used for margins

Relative units are only used for colors

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?