
HTML CSS
Authored by Ninitha C
Computers
University
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the default display value for a <div> element in CSS?
Answer explanation
A div is a block level element and hence displays one after another
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In the given the HTML and CSS code, how can you ensure the background image covers the entire element and maintains its aspect ratio?ese celestial bodies are planets?
Answer explanation
cover is used to fill the entire space with the image.
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In CSS, what is the difference between an ID and a class selector?
Answer explanation
you cannot have same id name across multiple html elements.whereas multiple html elements can use the same class names for styling
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is the correct CSS link tag?
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do you select an element with id "demo"?
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do you select all p elements inside a div element?
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
If the elements - <p>, <h4> and <a> tags are needed to be of the orange color, then which of the following will do this?
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?