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;
}
CSS Rules Quiz
Quiz
•
Computers
•
11th Grade
•
Easy
Gary Kopycinski
Used 2+ times
FREE Resource
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"
15 questions
Advanced HTML and CSS
Quiz
•
9th - 12th Grade
15 questions
CSS - Quiz 1
Quiz
•
9th Grade - University
15 questions
CSS
Quiz
•
8th - 12th Grade
20 questions
Web 101 Assessment
Quiz
•
9th - 12th Grade
15 questions
HTML CSS
Quiz
•
10th - 12th Grade
20 questions
CSS Quiz
Quiz
•
7th - 12th Grade
20 questions
HTML and CSS
Quiz
•
9th - 12th Grade
13 questions
CSS Selector Practice
Quiz
•
10th - 12th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz
Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
15 questions
June Review Quiz
Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles
Quiz
•
8th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig
Quiz
•
11th Grade
65 questions
MegaQuiz v2 2025
Quiz
•
9th - 12th Grade
10 questions
GPA Lesson
Lesson
•
9th - 12th Grade
15 questions
SMART Goals
Quiz
•
8th - 12th Grade