Search Header Logo

CSS Quiz

Authored by Chris Swanson

Specialty

9th Grade

CSS Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the CSS rule h2 { color: #FF0000; }, what does "#FF0000" represent?

The background color of the heading

The text color of the heading

The font size of the heading

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the CSS rule p { margin: 10px; }, what does "10px" specify?

The text color

The size of the paragraph

The margin around the paragraph

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the value "sans-serif" represent in the CSS rule body { font-family: 'Helvetica', sans-serif; }?

Italic font style

Bold font weight

fallback font family if the primary font is not available

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the CSS rule h1 { font-family: 'Arial', sans-serif; }, what does 'Arial' represent?

The font size

The font color

The font family

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the CSS property 'background-color' control?

The color of the text

The color of the background behind the text

The border color

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property is used to change the color of text?

font-color

text-color

color

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?