Explore topic-wise MCQs in Css.

This section includes 188 Mcqs, each offering curated multiple-choice questions to sharpen your Css knowledge and support exam preparation. Choose a topic below to get started.

151.

Which of the following property allows the text direction to be overridden to support multiple languages and text flow directions in the same document?$?

A. unicode-bidi
B. visibility
C. top
D. vertical-align
Answer» B. visibility
152.

Which of the following CSS Property defines the x-coordinate of the background-position property?$?

A. background-position-x
B. background-position-y
C. background-x-axis
D. background-y-axis
Answer» B. background-position-y
153.

Which of the following Cascading order has the highest precedence?$?

A. user agent declarations
B. user normal declarations
C. author normal declarations
D. author important declarations
Answer» B. user normal declarations
154.

Which of the following property is used to set the background image of an element?$?

A. background-color
B. background-image
C. background-repeat
D. background-position
Answer» C. background-repeat
155.

Which of the following Cascading order has the highest precedence??

A. user agent declarations
B. user normal declarations
C. author normal declarations
D. author important declarations
Answer» B. user normal declarations
156.

Which of the following CSS Property defines the x-coordinate of the background-position property??

A. background-position-x
B. background-position-y
C. background-x-axis
D. background-y-axis
Answer» B. background-position-y
157.

Which of the following property is used to change the height of a table??

A. height
B. table-height
C. resize
D. position-y
Answer» B. table-height
158.

Which of the following property sets whether the table borders are collapsed into a single border or separated:??

A. border
B. border-collapse
C. collapse
D. table-border
Answer» C. collapse
159.

Which of the following property is used to zoom in or out on an element??

A. zoom
B. zoom-set
C. zoom-in
D. zoom-out
Answer» B. zoom-set
160.

Which of the following property contains a list of one or more counter names to be cleared or set to a particular value??

A. counter
B. counter-origin
C. counter-reset
D. none of the mentioned
Answer» D. none of the mentioned
161.

Which of the following property is used to apply visual effects to associated elements??

A. filter
B. effect
C. adjust
D. none of the mentioned
Answer» B. effect
162.

Which of the following property is used to define the animations that should be run??

A. animation-delay
B. animation-iteration-count
C. animation-duration
D. animation-name
Answer» E.
163.

Which of the following measurement defines a measurement in centimeters??

A. c
B. cm
C. centi
D. centimeter
Answer» C. centi
164.

Which of the following property allows the text direction to be overridden to support multiple languages and text flow directions in the same document??

A. unicode-bidi
B. visibility
C. top
D. vertical-align
Answer» B. visibility
165.

Which of the following property is used to control page breaks when printing a document after the bound element box ends?

A. page-inside
B. page-break-after
C. page-break-inside
D. page-break-before
Answer» C. page-break-inside
166.

Which of the following transform property value defines a translation, using only the value for the X-axis?

A. translate(x)
B. translateZ(x)
C. translateY(x)
D. translateX(x)
Answer» E.
167.

Which of the following transform property value defines a 3D rotation along the Z-axis?

A. rotate-Z(angle)
B. rotate-Z-axis(angle)
C. rotateZ(angle)
D. all of the mentioned
Answer» D. all of the mentioned
168.

Which of the following represents a comment?

A. /!– comments –!/
B. /! comments !/
C. /* comments */
D. None of the mentioned
Answer» D. None of the mentioned
169.

Which of the following property is used to control column element breaks after an associated element when flowing multicolumn text?

A. column-break
B. column-break-after
C. column-count
D. column-break-before
Answer» C. column-count
170.

Which of the following measurement defines a measurement relative to a font’s x-height?$

A. e
B. xh
C. ex
D. rxh
Answer» D. rxh
171.

Which of the following CSS Property specifies whether the labels for an element’s list items are positioned inside or outside the “box” defined by the listed item?$

A. list-style
B. list-position
C. list-style-position
D. all of the mentioned
Answer» D. all of the mentioned
172.

Which of the following property is used to set the background color of an element?

A. background-color
B. background-image
C. background-repeat
D. background-position
Answer» B. background-image
173.

Which of the following property defines the width of each column in a multicolumn text flow?

A. width
B. columns
C. filter
D. column-width
Answer» E.
174.

Which of the following property specifies whether an element is an accelerator indicator or not.

A. move
B. @keyframes
C. accelerator
D. none of the mentioned
Answer» D. none of the mentioned
175.

Which of the following property sets the distance between an element’s right border and the rightmost edge of its content?#

A. auto
B. padding-left
C. padding-right
D. padding-top
Answer» D. padding-top
176.

Which of the following transform property value defines a 2D translation?

A. translate(x,y)
B. translate2d(x,y)
C. translate3d(x,y)
D. all of the mentioned
Answer» B. translate2d(x,y)
177.

Which of the following transform property value defines a 3D transformation, using a 4√ó4 matrix of 16 values?#

A. matrix3d(n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n)
B. matrix(n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n)
C. matrix2d(n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n)
D. all of the mentioned
Answer» B. matrix(n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n)
178.

Which of the following measurement is relative to font-size of the root element?

A. rem
B. kd
C. rr
D. hx
Answer» B. kd
179.

Which of the following property specifies the size of the mask?

A. box-sizing
B. box-shadow
C. box-reflect
D. none of the mentioned
Answer» D. none of the mentioned
180.

Which of the following property sets the spacing between words?

A. display
B. white-space
C. sr
D. word-spacing
Answer» E.
181.

Which of the following measurement defines a measurement in pixels?

A. px
B. in
C. em
D. pt
Answer» B. in
182.

If a particular rule should never be overridden by another rule, the ____________ indication should be used.

A. @important
B. !important!
C. !important
D. important!
Answer» D. important!
183.

Which of the following CSS property sets the opacity level for an element?

A. opacity
B. transparency
C. transparent
D. all of the mentioned
Answer» B. transparency
184.

Which of the following property defines the offset from an element’s border and its outline?#

A. outline-radius
B. opacity
C. outline-offset
D. overflow-style
Answer» D. overflow-style
185.

Which of the following property defines the text alignment rules on the alignment of the last line of an element?

A. text-justify
B. text-fill-color
C. text-align-last
D. none of the mentioned
Answer» D. none of the mentioned
186.

Each property may also have a cascaded value of ___________ which means that, for a given element, the property takes the same specified value as the property for the element’s parent.#

A. !important
B. delay
C. inherit
D. important
Answer» D. important
187.

Which of the following property sets in a shorthand form any or all background properties?

A. font
B. background
C. background-color
D. background-position
Answer» C. background-color
188.

Which of the following elements are block and inline elements, respectively, that have no particular rendering?

A. div
B. span
C. box-model
D. both (A) and (B)
Answer» E.