CodeHS Unit 3 CSS Quiz Review
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Katy Fleming
Used 23+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a valid CSS rule?
h1 {
color: blue;
}
<h1> {
color: blue;
}
h1 {
color="blue";
}
h1 {
color=blue;
}
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
CSS rules have a selector that defines which HTML elements the rule applies to.
We’ve learned about the following CSS Selectors:
Select by tag name
Select by class name
Select by id name
Which of the following ranks the selectors from highest precedence to lowest precedence?
Select by tag name, select by class name, select by id name
Select by id name, select by tag name, select by class name
Select by id name, select by class name, select by tag name
Select by class name, select by id name, select by tag name
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following statements are true about styling your web pages with CSS:
I. Styling with CSS is more scalable than using style= on each HTML tag that you want to style
II. You can change HTML tag style attributes with CSS files that are also possible using inline style= on an HTML tag
I only
II only
I and II
Neither I or II
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following code snippets will select all <img> tags on a page and give them a height of 200 pixels?
<img style="height:200px;">
tag="img" {
height: 200px;
}
<img> {
height: 200px;
}
img {
height: 200px;
}
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What font color will the following HTML element have after being styled by the given CSS:
<h1 class="fire">Welcome!</h1>
red
green
blue
black
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What font color will the following HTML element have after being styled by the given CSS:
<p class="title">My First Paragraph</p>
red
green
blue
black
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What font color will the following HTML element have after being styled by the given CSS:
<p class="fire" id="title">Hello World!</p>
red
green
blue
black
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
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
10 questions
Kuiz Pemantapan Latihan Amali Pangkalan Data
Quiz
•
12th Grade
10 questions
10 класс повторение CSS and Внедрение мультимедиа
Quiz
•
10th Grade
10 questions
Quiz 9 (15.09.2021)
Quiz
•
1st - 12th Grade
10 questions
PhP vs JavaScript
Quiz
•
10th Grade
10 questions
YouCode Scratch Quiz
Quiz
•
KG - 12th Grade
10 questions
Windows 10 Basics
Quiz
•
9th - 12th Grade
10 questions
HTML (3CS)
Quiz
•
10th - 11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
