
HTML, CSS, and JS Basics Quiz
Authored by aishwarya paul
English
10th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
44 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct HTML tag for creating a hyperlink?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which CSS selector targets all elements with the class "main-content"?
`#main-content`
`.main-content`
`main-content`
`*main-content*`
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to change the text colour of all `
` elements to blue in CSS?
`h1 { text-colour: blue; }`
`h1 { colour: blue; }`
`h1 { color: blue; }`
`h1 { font-colour: blue; }`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid HTML tag?
`
``
`
`
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does DOM stand for in web development?
Document Object Model
Data Object Model
Document Oriented Markup
Data Oriented Model
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to select an element with the ID "header" in CSS?
`.header`
`header`
`#header`
`*header*`
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which property is used in CSS to set the background colour of an element?
`background-colour`
`backgroundColor`
`background-color`
`bg-colour`
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 Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?