
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
Writer - II
Quiz
•
11th Grade
10 questions
Kuiz Pemantapan Latihan Amali Pangkalan Data
Quiz
•
12th Grade
10 questions
10 класс повторение CSS and Внедрение мультимедиа
Quiz
•
10th Grade
10 questions
PhP vs JavaScript
Quiz
•
10th Grade
10 questions
TIN 10 - BÀI 4
Quiz
•
10th - 11th Grade
10 questions
Komunikasi Daring 1
Quiz
•
10th Grade
10 questions
Prueba Diagnóstica
Quiz
•
10th Grade
10 questions
Word տեքստային խմբագրիչ
Quiz
•
8th - 9th 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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade