CSS-Styling Websites
Quiz
•
Other
•
12th Grade
•
Practice Problem
•
Hard
Angel Ligon
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 is a valid CSS rule?
h1 { color: blue; }
<h1> { color: blue; }
h1 { color="blue"; }
h1 { color=blue; }
2.
MULTIPLE CHOICE QUESTION
30 sec • 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
30 sec • 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 create styles with CSS that are not possible using style= on an HTML tag
I only
II only
I and II
None
4.
MULTIPLE CHOICE QUESTION
30 sec • 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
30 sec • 1 pt
Following CSS rules, what font color will the element be styled by the given CSS:
p tag is green, the class fire is red and the ID title is blue.
<h1 class="fire">Welcome!</h1>
red
green
blue
black
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Following CSS rules, what font color will the element be styled by the given CSS:
p tag is green, the class fire is red and the ID title is blue.
<p class="title">My First Paragraph</p>
red
green
blue
black
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Following CSS rules, what font color will the element be styled by the given CSS:
p tag is green, the class fire is red and the ID title is blue.
<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
Test Your Valorant Knowledge
Quiz
•
KG - 12th Grade
10 questions
KPOP
Quiz
•
5th Grade - University
12 questions
pokemon!!!
Quiz
•
KG - University
7 questions
Nickelodeon
Quiz
•
KG - University
9 questions
Pop Music
Quiz
•
KG - Professional Dev...
8 questions
Supernatural Quiz
Quiz
•
5th Grade - Professio...
13 questions
Lego
Quiz
•
KG - Professional Dev...
12 questions
MGT Quiz Finals
Quiz
•
KG - 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
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
15 questions
Atomic Habits: Career Habits
Lesson
•
9th - 12th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade
15 questions
Exponential Growth and Decay Word Problems Practice
Quiz
•
9th - 12th Grade
18 questions
AP Bio Insta-Review Topic 6.1*: DNA & RNA Structure
Quiz
•
9th - 12th Grade
