Search Header Logo

8.11 Quiz

Authored by Isaac Valdez

Information Technology (IT)

7th Grade

Used 7+ times

8.11 Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

What does a CSS tag selector do?

Applies styles to all elements

Selects a single element using an ID

Changes JavaScript functionality

Adds images to a webpage

2.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

Which of the following is a correct CSS rule for styling all <h1> elements?

h1: { color: blue; }

h1 { color: blue; }

#h1 { color: blue; }

.h1 { color: blue; }

3.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

What is the purpose of the color property in CSS?

To change the background image

To adjust the font size

To set the text color

To add spacing between elements

4.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

If you want to style only one specific element, which selector should you use?

Class selector

ID selector

Universal selector

Tag selector

5.

MULTIPLE SELECT QUESTION

45 sec • 10 pts

The font-family property is used to set the background color of a webpage

True

False

6.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

Using an ID selector in CSS requires a # symbol before the ID name.

True

False

7.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

In the Rainbow example (8.11.3), what CSS property was used to change text color?

background-color

text-style

color

font-family

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?