CodeHS Unit 2 Retake Review
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following ranks the CSS selectors from highest precedence to lowest precedence?
Class name
Tag name
ID name
Element name
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False: You can create static styles with inline style= (on HTML tags) that are not possible using CSS
True
False
Only in certain browsers
Only for specific HTML elements
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the code be to select all <img> tags on a page and give them a height of 200 pixels?
img { height: 200px; }
img { height: 150px; }
img { height: auto; }
img { height: 100%; }
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose you have the following CSS rules:
p {
color: green;
}
.fire {
color: red;
}
#title {
color: blue;
}
What font color will the following HTML element have after being styled by the given CSS:
<p class="fire" id="title">Hello World!</p>
Green
Red
Blue
Yellow
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the format for a CSS rule?
h1 {
color:blue;
}
h1 {
background-color:red;
}
h1 {
font-size:16px;
}
h1 {
margin:10px;
}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose you have the following CSS rules:
p {
color: green;
}
.fire {
color: red;
}
#title {
color: blue;
}
What font color will the following HTML element have after being styled by the given CSS:
<h1 class="fire">Welcome!</h1>
Green
Red
Blue
Yellow
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False: Styling with CSS is more scalable than using style= on each HTML tag that you want to style
True
False
CSS is less scalable
Both are equally scalable
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
EMPTECH L4 Q2
Quiz
•
12th Grade
10 questions
Managing and Formatting Word Documents
Quiz
•
12th Grade
13 questions
Nhập môn HTML
Quiz
•
6th - 9th Grade
10 questions
Espacio Opcional 3er Año Pío XII
Quiz
•
10th Grade
10 questions
10 класс повторение CSS and Внедрение мультимедиа
Quiz
•
10th Grade
11 questions
tic aplicada a la Educación
Quiz
•
12th Grade
10 questions
KIỂM TRA 15P TIN HỌC 9
Quiz
•
9th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th 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
