
CSS Practice Quiz
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Hillary Stasonis
Used 7+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does CSS stand for?
Casting Style Sheets
Cascading Style Sheets
Computer Selector Sheets
Cascading Style Selectors
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
CSS rules are specified using selectors. What are the three possible selectors we have learned about in class?
html element (aka "tag"), class, and id
html element (aka "tag"), class, and style name
class, style, and id
div, class, and id
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Styling with CSS rules is more scalable than using a style attribute on each HTML tag that you want to style
True
False
Answer explanation
Styling individual elements using the style attribute is not very scaleable because if you wanted to change the style down the road, you would need to change it on every single element.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A CSS rule is comprised of:
a CSS selector and one or more declarations enclosed by curly braces.
a CSS selector and one single declaration enclosed by curly braces.
a CSS selector and one or more declarations enclosed by parentheses.
an HTML tag name and one or more declarations enclosed separated by commas.
Answer explanation
The syntax of a CSS rule is shown here and as follows:
The selector comes first followed by an open curly brace. Then, each declaration is listed separated by semi-colons. Finally, the rule is terminated by a closing curly brace.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is a CSS declaration?
The key-value pair of a CSS variable and its value. The variable name and value are separated by a semi-colon.
The key-value pair of a CSS property and its value. The property name and value are separated by a colon.
The key-value pair of a CSS property and its value. The property name and value are separated by an equals sign.
The key-value pair of a CSS class and its definition. The class and definition are separated by curly braces.
Answer explanation
A CSS declaration is a combination of a property and a value separated by a colon. For example, in this code snippet, font-size is a property and 36px is a value.
You can have multiple declarations for each CSS rule.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a valid CSS rule?
Answer explanation
This is an example of valid CSS rule syntax.
Remember, property names can only be one word, and they cannot start with a number.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following code snippets will select all <p> tags on a page and give them a font color of red?
Answer explanation
This is an example of valid CSS rule syntax.
Remember, putting a style attribute on ONE element (aka an "inline style") does not change the style for EVERY element on the page. You must create a CSS rule to do that.
Create a free account and access millions of resources
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
20 questions
Design your website
Quiz
•
7th - 12th Grade
20 questions
Artificial Intelligence and SketchUp
Quiz
•
8th - 10th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
20 questions
2.3.1 Graph Traversal & Path Finding Algorithms
Quiz
•
12th Grade - University
15 questions
Problem Solving : Design Solution
Quiz
•
12th Grade
15 questions
Virtual Private Server
Quiz
•
12th Grade
17 questions
Security and Ethics
Quiz
•
9th - 12th Grade
21 questions
Computer System
Quiz
•
9th - 11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
15 questions
Internet Vocabulary Notebook Check #2 - CTEA(2024)
Quiz
•
12th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
39 questions
UNIT 7 and UNIT 8 — Multiple Choice Question Bank (Extracted)
Quiz
•
9th Grade
50 questions
Money Matters Fall 2025 Final Exam — Worksheet Questions
Quiz
•
12th Grade
47 questions
CSF Final Exam Practice
Quiz
•
9th - 12th Grade
