Search Header Logo

WEB: Unit 3 Lesson 3 CSS Selectors By Class

Authored by Steve Wills

Computers

9th - 12th Grade

Used 2+ times

WEB: Unit 3 Lesson 3 CSS Selectors By Class
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

30 sec • 1 pt

What does CSS stand for?

Colorful Style Sheets

Creative Style Sheets

Computer Style Sheets

Cascading Style Sheets

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS selector is used to define a style for a group of elements?

Tag

ID

Element

Class

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you select elements with the class name 'alert' in CSS?

*alert

alert

.alert

#alert

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct format to select p elements with the class 'alert'?

p #alert

.alert p

p.alert

.p alert

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can a single HTML element have multiple classes?

Yes, but only two

Yes, separated by commas

Yes, separated by spaces

No, it's not possible

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid class name?

1classname

class_name

class-name

classname2

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when an element has both class and tag selectors applied in CSS?

The class selector is applied

Both selectors are applied

Neither selector is applied

The tag selector is applied

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?