
HTML and CSS Quiz
Authored by Fadi Fadi
Information Technology (IT)
9th - 12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which HTML element is used to create a table?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the colspan attribute do in an HTML table?
It defines a cell with multiple rows.
It defines a header for a table column.
It merges cells horizontally across multiple columns.
It merges cells vertically across multiple rows.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you merge table cells vertically in HTML?
Use the colspan attribute.
Use the rowspan attribute.
Use the merge attribute.
Use the span attribute.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which HTML tag is used to display an image inside a table cell?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What CSS property is used to collapse the borders of a table?
border-collapse: collapse;
table-collapse: collapse;
collapse-borders: true;
border-style: collapse;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which CSS property can be used to set the background color of a table?
background-color
table-color
table-background
bg-color
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct CSS property to set the width of a table to 100%?
table-width: 100%;
width: 100%;
table-layout: 100%;
width-table: 100%;
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?