CSS Rules Quiz
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Easy
Gary Kopycinski
Used 2+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a property used in the given CSS rule?
h1 {
font-weight: bold;
font-size: 28px;
color: red;
background-color: pink;
text-align center;
}
font-size
color
margin
background-color
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What color does the CSS class ".alert" set the text to?
.alert {
font-size: 60px;
color: red;
}
.all-clear {
font-size: 60px;
color: green;
}
Blue
Green
Red
Black
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the significance of using the same class name for different tags?
It allows for consistent styling
It creates multiple pages
It adds multiple images
It generates scripts
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct CSS syntax?
body:color=black;
{body:color=black;}
body {color: black;}
body = color: black;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which property is used to change the text color in CSS?
font-color
text-color
color
text-style
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to comment in CSS?
// This is a comment
/* This is a comment */
# This is a comment
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the CSS rule "p.alert" apply to?
All paragraph elements
All elements with the class "alert"
Only paragraph elements with the class "alert"
Only elements with the id "alert"
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
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
12 questions
Wee Word Intro
Quiz
•
7th - 12th Grade
20 questions
SaaS
Quiz
•
11th Grade
20 questions
KELAS DKV 1 PTS PLD SEMESTER 2
Quiz
•
11th Grade
20 questions
Quiz
•
7th - 12th Grade
10 questions
USING HAND TOOLS
Quiz
•
11th Grade
13 questions
Five Nights At Freddy's: Security Breach Quiz
Quiz
•
KG - Professional Dev...
17 questions
Data Structures: 1D,2D & List
Quiz
•
11th 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
