
HTML and CSS Quiz
Quiz
•
Computers
•
7th Grade
•
Practice Problem
•
Medium
Chitrankan Mulam
Used 7+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the meta tag with charset="UTF-8" in the HTML document?
It sets the page's character encoding to UTF-8.
It links to a CSS file.
It includes a JavaScript file.
It defines the viewport settings for mobile devices.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which CSS property is used to center-align the text in the title_section class?
align-items
text-align
justify-content
margin
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What HTML attribute is used to uniquely identify an element so that it can be manipulated by CSS or JavaScript?
Class
Name
Id
Type
4.
OPEN ENDED QUESTION
3 mins • 1 pt
Which HTML element is used to link an external CSS file to the HTML document?
Evaluate responses using AI:
OFF
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following CSS rule achieve? img { border: 2px solid black; }
Adds padding to images
Sets a margin around images
Adds a border around images
Changes the image size
6.
OPEN ENDED QUESTION
3 mins • 1 pt
To create an image gallery, which HTML element is used to display individual images?
Evaluate responses using AI:
OFF
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the effect of setting background-size: cover in the CSS for the header class?
It repeats the background image
It stretches the background image to cover the entire element
It tiles the background image
It centers the background image without resizing
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
10 questions
Bitmap v Vector Images
Quiz
•
KG - University
10 questions
adobe flash
Quiz
•
7th Grade
10 questions
GCSE J277 - Computational Thinking Keyword Quiz
Quiz
•
7th Grade
13 questions
EXAMEN-2°AÑO-INFORMATICA P3-2021
Quiz
•
1st - 9th Grade
10 questions
LAT BAB V INFORMATIKA KELAS 7
Quiz
•
7th Grade
10 questions
R082 Book Cover Assets planning
Quiz
•
7th - 12th Grade
10 questions
AI QUIZ
Quiz
•
6th - 8th Grade
11 questions
Website constructs
Quiz
•
6th - 8th 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
