
HTML CSS Basics Assessment -1
Authored by Pratik Singh
Computers
University
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
The CSS Property used to make the text bold is:
font-style
font-weight
font-size
font-bold
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
How to select the elements with their class name "container" ?
#container
container
$container
.container
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What model includes margin, border, padding, and content?
CSS Box model
CSS3 Flexbox Box model
CSS3 Grid Layout model
CSS Grid Template Layout Module
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which CSS property allows you to control how the total width and height of an element is calculated?
width-height
box-dimension
box-sizing
element-sizing
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which CSS property is commonly used to horizontally center an element within its parent?
text-align
align-content
justify-content
margin: 0 auto;
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In CSS, what is the difference between an ID and a class selector?
IDs are for styling multiple elements, while classes are for single elements.
IDs are for single elements, while classes are for styling multiple elements.
IDs and classes can be used interchangeably.
IDs and classes have no difference in CSS.
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which type of gradient transitions between two or more colors in a linear pattern?
Linear gradient
Radial gradient
Diagonal gradient
Circular gradient
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?