CSS Box Model and Properties

Quiz
•
Computers
•
9th Grade
•
Medium
Joselyn Ignacio
Used 14+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the four components of the CSS box model?
content, padding, border, margin
padding, border, margin, content
margin, content, padding, border
content, padding, border, padding
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you set a background color for an element in CSS?
background-color: blue;
color: red;
background: red;
background-color: red;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the difference between border-width, border-style, and border-color properties.
Border-style determines the width of the border
Border-width controls the color of the border
The difference lies in what aspect of the border each property controls.
The properties are interchangeable and can be used in any order
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the padding property in CSS?
To adjust the opacity of an element
To change the font size of the text
To create space around an element's content.
To add a border around an element
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Describe the margin property in CSS and how it affects the layout of elements.
The margin property in CSS controls the space around an element, affecting the layout by creating space between elements or between an element and its container.
The margin property in CSS controls the color of an element, affecting the layout by changing the background color.
The margin property in CSS controls the font size of an element, affecting the layout by adjusting the text size.
The margin property in CSS controls the border style of an element, affecting the layout by changing the border appearance.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you change the font size of text in CSS?
text-size: 16px;
font-size: 16px;
font-size: 12px;
font-style: bold;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between font-weight and font-style properties?
Font-weight specifies color, font-style specifies weight.
Font-weight specifies weight, font-style specifies style.
Font-weight specifies style, font-style specifies color.
Font-weight specifies size, font-style specifies weight.
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
9 Klase. Ievads HTML, CSS, JavaScript

Quiz
•
9th Grade
20 questions
IGCSE ICT Web Authoring M

Quiz
•
9th - 10th Grade
21 questions
Aryan's revision quiz

Quiz
•
9th Grade
25 questions
IST CodeHS Unit 5 Web Design Review

Quiz
•
9th - 12th Grade
23 questions
WEB: Guess the CSS!

Quiz
•
9th Grade
15 questions
Advanced HTML and CSS

Quiz
•
9th - 12th Grade
20 questions
HTML and CSS

Quiz
•
9th - 12th Grade
20 questions
CSS Box Model +

Quiz
•
8th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade