Explore topic-wise MCQs in Testing Subject.

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

1.

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
2.

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
3.

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
4.

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
5.

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
6.

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
7.

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
8.

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
9.

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
10.

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
11.

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
12.

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.
13.

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

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

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
15.

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
16.

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.
17.

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
18.

Which of the following represents a comment?

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

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
20.

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
21.

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
22.

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
23.

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.
24.

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
25.

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
26.

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)
27.

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)
28.

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
29.

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
30.

Which of the following property sets the spacing between words?

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

Which of the following measurement defines a measurement in pixels?

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

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!
33.

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
34.

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
35.

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
36.

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
37.

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
38.

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.