
CSS Recap
Authored by David Copeland
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
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does CSS stand for?
Cascading Style Sheets
Creative Style System
Computer Style Sheets
Common Style Syntax
Answer explanation
CSS stands for Cascading Style Sheets, which is a stylesheet language used to describe the presentation of a document written in HTML or XML. The other options do not accurately represent what CSS stands for.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which property is used to change the background color?
bgColor
background-color
color
background
Answer explanation
The correct property to change the background color in CSS is 'background-color'. 'bgColor' is outdated, 'color' changes text color, and 'background' is a shorthand that can include more than just color.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you apply a class to an element in CSS?
.classname
#classname
<classname>
classname
Answer explanation
.classname is the correct way to apply a class to an element in CSS. The dot (.) indicates that you are selecting a class. The other options, such as #classname (for IDs) and
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default value of the position property?
fixed
relative
absolute
static
Answer explanation
The default value of the position property in CSS is 'static'. This means that elements are positioned according to the normal flow of the document, without any special positioning applied.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which CSS property controls the text size?
font-style
font-size
text-style
text-size
Answer explanation
The correct property to control text size in CSS is 'font-size'. This property allows you to set the size of the text, while 'font-style' affects the style (like italic), and 'text-style' and 'text-size' are not valid CSS properties.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you select an element with the ID "header"?
#header
.header
header#
header
Answer explanation
To select an element with the ID 'header', you use the syntax '#header'. The '#' symbol indicates that you are targeting an ID, making this the correct choice. The other options do not correctly reference an ID.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which property is used to align text to the center?
align
text-align
vertical-align
justify
Answer explanation
The correct property to align text to the center is 'text-align'. This CSS property specifically controls the horizontal alignment of text within an element, allowing for options like left, right, center, and justify.
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
39 questions
adobe photoshop 2015 certification quiz 1
Quiz
•
9th - 12th Grade
35 questions
MINH ÔN TẬP TIN HỌC LỚP 3
Quiz
•
1st - 12th Grade
37 questions
ôn tập giữa kì 2 lớp 11
Quiz
•
11th Grade - University
40 questions
CodeHS Web Design - HTML - Mid-Unit Test
Quiz
•
9th - 12th Grade
42 questions
App inventor
Quiz
•
7th Grade - University
45 questions
Computer Basics
Quiz
•
6th - 12th Grade
38 questions
Computer Hardware Basics+
Quiz
•
7th - 12th Grade
40 questions
Introduction to Microsoft Word
Quiz
•
8th - 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