
CSS and HTML Quiz
Authored by Anthony DellaRosa
Computers
12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Assume you have two files for your website, and these files exist in the same folder: about.html style.css 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:
Inside style.css:
Inside about.html:
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 of div tags?
div > a { ... }
div a { ... }
div < a { ... }
div + a { ... }
5.
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; }
6.
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; }
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following settings will not make an element invisible?
visibility: hidden
appearance: off
opacity: 0
display: none
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
15 questions
Adobe Digital Design 1.00 (Part 1)
Quiz
•
9th - 12th Grade
12 questions
Basic CSS3
Quiz
•
9th - 12th Grade
14 questions
LA6.C6: Graphics Window
Quiz
•
9th Grade - University
12 questions
Recuperação - Pensamento Computacional - 1ª Série NEM
Quiz
•
9th - 12th Grade
20 questions
Advance Ms-Word
Quiz
•
10th Grade - Professi...
16 questions
Prepare For Final Exam
Quiz
•
9th - 12th Grade
14 questions
LA7.C7: Turtle Graphics
Quiz
•
9th Grade - University
20 questions
K12 1 TIẾT HỌC KỲ 1 (2024-2025)
Quiz
•
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade