
Mastering CSS Class Selectors

Interactive Video
•
Computers
•
10th Grade
•
Hard

Amelia Wright
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the general format for a CSS rule?
Class name followed by square brackets and tag names inside.
Tag name followed by curly braces and class names inside.
Selector followed by curly braces and declarations inside.
Selector followed by parentheses and declarations inside.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What attribute do you use to assign a class to an HTML element?
type
class
style
id
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you select HTML elements by class in CSS?
Using the tag name followed by the class name.
Using the class name directly without any symbol.
Using the . symbol followed by the class name.
Using the # symbol followed by the class name.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the period (.) symbol signify in CSS?
It indicates a class selector.
It indicates a pseudo-class.
It indicates an ID selector.
It indicates a tag selector.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you make a CSS rule apply only to
tags with a specific class?
By using the class name followed by the
tag.
By using the # symbol followed by the class name within
tags.
By using the
tag followed by the . symbol and the class name.
By using the class name directly within
tags.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you increase the specificity of a CSS rule?
By using the !important declaration.
By combining tag and class selectors.
By adding more classes to the rule.
By writing the rule at the bottom of the CSS file.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can a single HTML element have multiple classes?
No, an HTML element must have a unique class.
Yes, by separating class names with commas.
No, an HTML element can only have one class.
Yes, by separating class names with spaces.
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Selenium Python Automation Testing from Scratch and Frameworks - Identifying Xpath and CSS

Interactive video
•
University
11 questions
Introduction to Relative Locators

Interactive video
•
University
8 questions
HTML Styling

Interactive video
•
11th Grade
11 questions
Building a Website from Scratch

Interactive video
•
6th - 10th Grade
11 questions
Full Stack Web Development MASTERY Course - Novice to Expert - Square Bracket Notation in Tailwind CSS

Interactive video
•
University
11 questions
Serving up CSS, JS, Images, and More

Interactive video
•
University
11 questions
Modern HTML and CSS from the Beginning (Including Sass) - Home Articles Grid

Interactive video
•
University
8 questions
CSS Bootcamp: Master CSS (Including CSS Grid/Flexbox) - CSS Selectors

Interactive video
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade