
CSS Selectors and Rules
Interactive Video
•
Computers, Design, Education
•
6th - 9th Grade
•
Practice Problem
•
Medium
Mia Campbell
Used 3+ times
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the general format of a CSS rule?
Selector, curly braces, and declarations
Curly braces, selector, and declarations
Selector, declarations, and curly braces
Declarations, selector, and curly braces
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the selector in a CSS rule define?
The style of the HTML elements
The HTML elements to which the rule applies
The size of the HTML elements
The color of the HTML elements
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you use a tag as a selector in CSS?
It selects all elements with that tag
It selects elements with a specific class
It selects the first element with that tag
It selects the last element with that tag
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you use 'h1' as a selector, what will the CSS rule apply to?
All tags with a class of 'h1'
All header tags
All h1 tags
All h2 tags
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the font size and color of all h1 tags if the CSS rule is 'h1 { font-size: 60px; color: red; }'?
Font size of 60 pixels and color of blue
Font size of 60 pixels and color of red
Font size of 40 pixels and color of red
Font size of 40 pixels and color of blue
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you select all image tags and set their height to 200 pixels?
img { height: 200px; }
image { height: 200px; }
img { width: 200px; }
image { width: 200px; }
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if you define a CSS rule 'img { height: 200px; }'?
Only the first image will have a height of 200 pixels
Only the last image will have a height of 200 pixels
All images will have a height of 200 pixels
No images will be affected
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
11 questions
New Features and Improvements in Canva
Interactive video
•
7th - 12th Grade
11 questions
Clock Mechanism and 3D Printing Insights
Interactive video
•
7th - 12th Grade
11 questions
Alligator Hunting Strategy and Teamwork
Interactive video
•
6th - 10th Grade
11 questions
Traffic Stop Scenarios and Responses
Interactive video
•
6th - 8th Grade
11 questions
Troy Landry's Fishing Competition Strategies
Interactive video
•
6th - 10th Grade
6 questions
Understanding Reactions and Shrek's Dilemmas
Interactive video
•
4th - 8th Grade
2 questions
Modern Web Design with HTML5, CSS3, and JavaScript - Setting up a Page for a Website
Interactive video
•
6th - 7th Grade
11 questions
YouTube Video Optimization Strategies
Interactive video
•
7th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
18 questions
[AP CSP] JavaScript Programming Lesson 2025-2026
Lesson
•
9th - 12th Grade
57 questions
[AP CSP] Unit 5 Review: Internet & Cybersecurity
Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
15 questions
Google Sheets
Quiz
•
7th - 8th Grade
10 questions
Introduction to Coding
Interactive video
•
3rd - 6th Grade