CSS - Cascading Style Sheets
Quiz
•
Computers
•
University
•
Hard
Kevin Albania
Used 23+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the proper way to apply the CSS code inside style.css to the about.html file?
Inside style.css:
applyTo {
href: about.html;
}
Inside about.html:
<head>
<style href="style.css"></style>
</head>
Inside style.css:
<html href="about.html">
Inside about.html:
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are trying to apply the same style to several different elements in a block, with line breaks before and after. Which tag should you use?
<span>
<div>
<style>
<src>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following selects all elements with the class footer that are inside of divs?
div {
.footer {
...
}
}
.footer div {
...
}
div > .footer {
...
}
div .footer {
...
}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following selects all a tags that are immediate children/child selector of div tags?
div > a {
...
}
...
}
div < a {
...
}
div + a {
...
}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is it important to avoid repetitive code while creating a website?
Excessive code is harder to read and understand
It is easier to make edits to websites when CSS rules are strategically grouped and organized
It demonstrates good coding style
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will turn the first letter of all p elements blue?
p::first-letter {
color=blue;
}
p:first-letter {
color=blue;
}
p::first-letter {
color: blue;
}
p:first-letter {
color: blue;
}
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following selects images as the mouse hovers over them and sets their size to 350px by 350px?
img:hover {
width: 350px;
height: 350px;
}
img :hover {
width: 350px;
height: 350px;
}
img::hover {
width: 350px;
height: 350px;
}
img > hover {
width: 350px;
height: 350px;
}
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
CSS Pseudo dan CSS Grid System
Quiz
•
University
20 questions
POST TEST WEB STATIC
Quiz
•
University - Professi...
20 questions
Final Exam - CC25
Quiz
•
University
20 questions
DRPL Evaluasi Pertemuan 11 TI-IIIB
Quiz
•
University
20 questions
Warriors of Excel
Quiz
•
University
20 questions
1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni
Quiz
•
University - Professi...
20 questions
Web Design and HTML Tables Quiz
Quiz
•
University
20 questions
PARC Linux Basic Part 2
Quiz
•
University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
