
HTML CSS Quiz FOR CLASS 10TH
Authored by RAHUL GUPTA
Computers
10th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
52 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The property in CSS used to change the background color of an element is -
bgcolor
color
background-color
All of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The property in CSS used to change the text color of an element is -
background-color
color
bgcolor
All of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The CSS property used to control the element's font-size is -
text-style
text-size
None of the above
font-size
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The HTML attribute used to define the inline styles is -
None of the above
class
styles
style
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The HTML attribute used to define the internal stylesheet is -
script
html
style
css
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following CSS property is used to set the background image of an element?
background-color
None of the above
background-image
background-attachment
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct syntax to make the background-color of all paragraph elements to yellow?
p {background-color : #yellow;}
p {background-color : yellow;}
all {background-color : yellow;}
all p {background-color : #yellow;}
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?