CSS Class Selection Quiz

CSS Class Selection Quiz

11th Grade

15 Qs

quiz-placeholder

Similar activities

PLTW-CEA-2.1.1-2.1.2

PLTW-CEA-2.1.1-2.1.2

10th - 12th Grade

21 Qs

 Class III Prepositions & Conjunctions

Class III Prepositions & Conjunctions

3rd Grade - University

20 Qs

Mr. Martin Multiview Exercise #4 -CTE DEPARTMENT

Mr. Martin Multiview Exercise #4 -CTE DEPARTMENT

9th - 12th Grade

11 Qs

Natural and built environment

Natural and built environment

11th - 12th Grade

15 Qs

CEA Section 1.1.2

CEA Section 1.1.2

11th - 12th Grade

15 Qs

Building Laws Quiz 1- PD 1096

Building Laws Quiz 1- PD 1096

KG - Professional Development

15 Qs

Roof

Roof

11th - 12th Grade

12 Qs

2nd graders

2nd graders

2nd Grade - University

21 Qs

CSS Class Selection Quiz

CSS Class Selection Quiz

Assessment

Interactive Video

Architecture

11th Grade

Medium

Created by

Carlita Scarboro-Vazquez

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the general format for a CSS rule?

Selector followed by declarations inside curly braces

Declarations followed by selectors and semicolons

Declarations inside square brackets followed by selectors

Selectors followed by colons and declarations

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a CSS selector define?

Which HTML elements a CSS rule applies to

The specific style properties to be applied

The location of the CSS file

The version of CSS being used

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you select HTML elements by their tag in CSS?

Using the tag name as the selector

Using the style attribute of the tag

Using the class attribute of the tag

Using the ID attribute of the tag

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you select elements with a specific class in CSS?

Using a hash followed by the class name

Using an asterisk before the class name

Using a period followed by the class name

Using the class name directly

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What attribute is used to apply styles to specific groups of elements?

ID

Class

Type

Style

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the class attribute do?

Identifies elements for hyperlink targets

Connects elements to specific server-side scripts

Links HTML to specific JavaScript functions

Allows styling of specific groups of elements

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the effect of adding a class to an HTML element?

It makes the element invisible

It allows the element to be targeted by specific CSS rules

It changes the content of the element

It deletes the element from the document

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?