Show List
Quiz - CSS - 1
Select the right answer for below questions:
What is the default value of the "display" property in CSS?
Inline
Block
None
Flex
Block
What is the purpose of the "float" property in CSS?
To create a floating element that flows around other elements
To create a centered element on the page
To create a fixed position element on the page
To create a responsive element on the page
To create a floating element that flows around other elements
What does the "clear" property in CSS do?
It sets the background color of an element
It sets the text color of an element
It sets the border of an element
It specifies which sides of an element other floating elements are not allowed
It specifies which sides of an element other floating elements are not allowed
What is the default value of the "position" property in CSS?
Absolute
Relative
Fixed
Static
Static
What does the "overflow" property in CSS do?
It sets the background color of an element
It sets the text color of an element
It sets the border of an element
It specifies what to do when the content of an element overflows its box
It specifies what to do when the content of an element overflows its box
What is the default value of the "z-index" property in CSS?
0
1
2
3
0
What is the purpose of the "background-size" property in CSS?
It sets the position of the background image of an element
It sets the repeat property of the background image of an element
It sets the size of the background image of an element
It sets the opacity of the background image of an element
It sets the size of the background image of an element
What does the "box-shadow" property in CSS do?
It sets the shadow effect for the elements box
It sets the background color of the elements box
It sets the border radius of the elements box
It sets the opacity of the elements box
It sets the shadow effect for the elements box
What is the purpose of the "border-radius" property in CSS?
It sets the shadow effect for an element
It sets the radius of the corners of an element's border
It sets the background color of an element
It sets the border style of an element
It sets the radius of the corners of an element's border
What is the purpose of the "flexbox" layout in CSS?
To create a floating layout
To create a fixed layout
To create a flexible and responsive layout
To create a centered layout
To create a flexible and responsive layout
Submit
Retry
{"qz1-772319":"Block","qz1-772320":"To create a floating element that flows around other elements","qz1-772321":"It specifies which sides of an element other floating elements are not allowed","qz1-772322":"Static","qz1-772323":"It specifies what to do when the content of an element overflows its box","qz1-772324":"0","qz1-772325":"It sets the size of the background image of an element","qz1-772326":"It sets the shadow effect for the elements box","qz1-772327":"It sets the radius of the corners of an element's border","qz1-772328":"To create a flexible and responsive layout"}
Leave a Comment