
CSS Selectors
Authored by Richard Ghiorse
Computers
9th - 12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used to indicate a CSS class selector?
. (a period)
# (a hashtag)
; (a semicolon)
: (a colon)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used to indicate a CSS id selector?
. (a period)
# (a hashtag)
; (a semicolon)
: (a colon)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose there is a CSS class called fancy that already exists. Which of the following bits of HTML code correctly uses the fancy class?
<p .fancy>I'm fancy!</p>
<p class fancy>I'm fancy!</p>
<p class="fancy">I'm fancy</p>
<p .fancy class>I'm fancy</p>
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose there is a CSS id called uniquestyle that already exists. Which of the following bits of HTML code correctly uses the uniquestyle id?
<h1 #uniquestyle>I have a unique style!</h1>
<h1 id="uniquestyle">I have a unique style!</h1>
<h1 #iduniquestyle>I have a unique style!</h1>
<h1 .uniquestyle>I have a unique style!</h1>
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct CSS code for a class codefont that will style elements of that class with Courier New font?
#codefont {
font-family: "Courier New", monospace;
}
codefont {
font-family: "Courier New", monospace;
}
.codefont {
font-family: "Courier New", monspace;
}
.codefont {
font-family: "Courier New" monospace
}
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
10 questions
TIN HỌC 10 - BÀI 21
Quiz
•
10th Grade
10 questions
Javascript & Client side scripting
Quiz
•
10th - 12th Grade
10 questions
ASSO - Linux, podstawowe zagadnienia dotyczące systemu i sieci
Quiz
•
9th - 12th Grade
10 questions
Soal BAB V PemWeb
Quiz
•
12th Grade
10 questions
Introduccion a HTML,CSS y PHP
Quiz
•
10th Grade
10 questions
Xth IT Viva
Quiz
•
10th Grade
10 questions
7.2 Knowledge check
Quiz
•
9th Grade
10 questions
Bài 25 tin 10
Quiz
•
9th Grade - University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade