CSS Selectors

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Richard Ghiorse
Used 4+ times
FREE Resource
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
}
Similar Resources on Wayground
9 questions
HTML Basics

Quiz
•
9th Grade - Professio...
10 questions
7.2 Knowledge check

Quiz
•
9th Grade
7 questions
مراجعة عامة في العلامات المخصصة للغة الـ HTML

Quiz
•
10th Grade
10 questions
HTML(1)

Quiz
•
10th Grade
10 questions
ôn giưa ki 2 tin12

Quiz
•
12th Grade
9 questions
Unit 2 Quiz-v1

Quiz
•
9th Grade - University
10 questions
HTML quiz Batch A

Quiz
•
10th Grade
10 questions
Kuis Dasar-Dasar HTML

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade