Review for CSS Test

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Thelesa Williams
Used 43+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Why do we use CSS?
Easily modify the look and feel of a web site even at a large scale
Separate the content of a web page from the design of a web page
HTML wasn’t intended to be able to style web pages, CSS allows us to add style
All of the above
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a valid CSS rule?
h1 {
color: blue;
}
style="color:blue;"
h1 {
color {
blue;
}
}
css="color:blue;"
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a valid CSS rule?
<h1> {
color: orange
}
h1 {
color: orange;
}
h1
<color="orange">
h1 {
color="orange";
}
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following code snippets will select all HTML elements with the class “alert” and set their color to be red?
#alert {
color: red;
}
class="alert" {
color: red;
}
alert {
color: red;
}
.alert {
color: red;
}
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following CSS rules will select the HTML element with the id logo and set the font size for that element to 60 pixels?
.logo {
font-size: 60px;
}
#logo {
font-size: 60px;
}
id="logo" {
font-size: 60px
}
logo {
font-size: 60px;
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the function of the Cascade in CSS?
The Cascade will make sure there are no typos in your CSS rules.
The Cascade determines which CSS rules will be applied when multiple rules for an item are contradictory.
The Cascade helps you write styling for your websites quickly by providing easy templates to use.
The Cascade is a set of guidelines to make your site look beautiful.
7.
MULTIPLE CHOICE QUESTION
20 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?
tag="img" {
height: 200px;
}
<img> {
height: 200px;
}
<img style="height:200px;">
img {
height: 200px;
}
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Advanced HTML and CSS

Quiz
•
9th - 12th Grade
7 questions
Introduction to HTML/CSS Quiz 3: Basic CSS

Quiz
•
6th - 12th Grade
10 questions
CSS Grade 11 NIS Aktobe

Quiz
•
11th Grade
15 questions
CSS

Quiz
•
8th - 12th Grade
12 questions
WEBSITE AUTHORING CHECKPOINT

Quiz
•
8th - 9th Grade
8 questions
CTI Web Dev. Week 6 Review

Quiz
•
6th Grade - University
14 questions
Making Websites Quiz Y9

Quiz
•
8th - 9th Grade
12 questions
HTML & CSS

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade