HTML and CSS Basics Quiz

Quiz
•
Computers
•
9th Grade
•
Hard
David Marks
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is the purpose of the
tag in an HTML document?To display content in the browser window
To link CSS files and provide meta information
To define the main content of the page
To create comments in the HTML
2.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
How do you set the background color of a webpage to light blue using CSS?
body { color: lightblue; }
body { background-color: lightblue; }
body { border-color: lightblue; }
body { font-color: lightblue; }
3.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is the purpose of a
To create a new page
To represent a block of content
To create a click element
4.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is the purpose of setting the z-index to -1 in a CSS overlay?
To make the overlay cover the entire parent element
To place the overlay behind the actual content
To stretch the pseudo-element to all sides
To change the color of the overlay
5.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is the purpose of using the
tag in HTML as described in the document? <section>
To style the text
To embed a video
To create a generic container for content
To add a background image
6.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is the function of the class "andy" in the HTML structure provided? <div class="andy">
It embeds a YouTube video
It is the main wrapper for styling
It sets the video to responsive size
It limits the iframe width
7.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is the purpose of using "display: flex" in the .andy class?
To create a parallax effect
To center the iframe using Flexbox
To add space inside the .andy box
To set a scenic image as background
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Y8 - Web page design (HTML & CSS)

Quiz
•
9th - 11th Grade
20 questions
JavaScript Basics CodeHS

Quiz
•
7th - 12th Grade
21 questions
CSS Review

Quiz
•
KG - 12th Grade
20 questions
1Mx-Review Quiz

Quiz
•
9th Grade - University
20 questions
10 Quiz#1: CSS

Quiz
•
10th Grade
15 questions
Comparing Python, Java, and JavaScript

Quiz
•
9th Grade - University
20 questions
Grade 9 - ICT Quiz

Quiz
•
9th Grade
18 questions
Web Design Advanced HTML CSS

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade