CSS MCQ Set Paper 5
CSS MCQ Set Paper 5
[Marks]1
[Negative Marks]0
Q.4) Which display value will hide an element from the page layout and
make it invisible?
[a] inline
[b] block
[c] inline-block
*[d] none
Q.5) Which of the following statements about the display: flex; property
is correct?
[a] It allows the element to be displayed as an inline-level element.
*[b] It enables a flexible box layout for the element and its children.
[c] It makes the element expand to fill the available space.
[d] It aligns the content of the element along the vertical axis.
Q.6) Which display value is used to group table rows into a table body?
[a] table-row
[b] table-cell
*[c] table-row-group
[d] table
[S1] This is for the solution
Q.7) What is the default value of the display property for most HTML
elements?
[a] block
*[b] inline
[c] inline-block
[d] none
Q.8) The display: grid; property is used to create a grid layout. Which
HTML elements can be transformed into a grid container using this
property?
[a] Only elements with the <div> tag
*[b] Any HTML element
[c] Only elements with the <table> tag
[d] Only elements with the <span> tag
Q.10) Which of the following values for the display property will make
an element take up only the necessary space it requires, without any
line breaks?
[a] block
*[b] inline
[c] flex
[d] inline-block
[a] linear-gradient()
[b] conical-gradient()
[c] gradient()
*[d] radial-gradient()
[a] One
[b] Two
*[c] Three
[d] There is no limit
Q.22) Which CSS property is commonly used with the transition property
to specify the property to be transitioned?
[a] transform
*[b] transition-property
[c] animation
[d] transition-timing-function
[S1] This is for the solution
[a] border
*[b] p
[c] 2px
[d] None of these