Which of the following ranks the CSS selectors from highest precedence to lowest precedence?
CodeHS Unit 2 Retake Review

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
8.
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="title">My First Paragraph</p>
Green
Red
Blue
Yellow
Similar Resources on Quizizz
10 questions
Kuis Dasar-Dasar HTML

Quiz
•
9th Grade
10 questions
HTML Basics

Quiz
•
7th - 10th Grade
12 questions
PROVA PARANÁ - PENSAMENTO COMPUTACIONAL | REVISÃO ENSINO MÉDIO 1

Quiz
•
10th Grade
10 questions
HTML Coding

Quiz
•
9th - 11th Grade
13 questions
HTML тегтері

Quiz
•
1st Grade - University
10 questions
Computer Programming - Reviewer 1

Quiz
•
10th Grade
10 questions
Introdução ao CSS

Quiz
•
10th - 12th Grade
12 questions
Review for CSS Test

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade