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.

51.

Which of the following property defines the width of a rule between columns in a multicolumn text flow?%!

A. column-width
B. column-rule
C. column-float
D. column-rule-width
Answer» E.
52.

Which of the following measurement is relative to 1% of the height of the viewport?%!

A. ch
B. rem
C. %
D. vh
Answer» E.
53.

An ___________ rule is used to define a page block for printed styles.%!

A. @important
B. @page
C. @css
D. @html
Answer» C. @css
54.

Which of the following property defines the minimum number of lines in a paragraph to be left at the top of a page?%!

A. white-space
B. widows
C. display
D. width
Answer» C. display
55.

Which of the following Microsoft-introduced property defines the position of underlining set by the text-decoration property?%!

A. text-underline
B. text-underline-origin
C. text-underline-position
D. none of the mentioned
Answer» E.
56.

Which of the following property is a shorthand that resets all CSS properties?%!

A. reset
B. inital
C. all
D. delete
Answer» D. delete
57.

Which of the following property of a table element specifies whether the border should be shown if a cell is empty?%!

A. border-collapse
B. border-spacing
C. caption-side
D. empty-cells
Answer» E.
58.

*$_Which of the following property is a shorthand that resets all CSS properties??

A. reset
B. inital
C. all
D. delete
Answer» D. delete
59.

*$_Which of the following Microsoft-introduced property defines the position of underlining set by the text-decoration property??

A. text-underline
B. text-underline-origin
C. text-underline-position
D. none of the mentioned
Answer» E.
60.

*$_Which of the following property of a table element specifies whether the border should be shown if a cell is empty??

A. border-collapse
B. border-spacing
C. caption-side
D. empty-cells
Answer» E.
61.

*$_Which of the following selector same as :after; changed under CSS3 to make pseudo-elements obvious??

A. ::after
B. :after
C. #after
D. none of the mentioned
Answer» B. :after
62.

*$_Which of the following property is used to control the space between the border and content in a table??

A. border
B. margin
C. padding
D. resize
Answer» D. resize
63.

*$_Which of the following values are zccepted by the float Property??

A. left
B. right
C. none
D. all of the mentioned
Answer» E.
64.

*$_Which of the following CSS3 property can be used to allow line breaks within words??

A. word-wrap
B. word-break
C. line-wrap
D. line-break
Answer» C. line-wrap
65.

*$_Which of the following property specifies an element’s display type and can override an element’s defined presentation??

A. content
B. display
C. visibility
D. none of the mentioned
Answer» E.
66.

*$_Which of the following property defines a mask to be used as a box’s overlay in order to clip the box to a complex shape??

A. shadder
B. mask
C. mask-attachment
D. mask-image
Answer» C. mask-attachment
67.

*$_Which of the following property defines a relationship between bound elements(s) and some code or content??

A. behavior
B. anim
C. binding
D. none of the mentioned
Answer» D. none of the mentioned
68.

*/*_Which of the following property defines the minimum number of lines in a paragraph to be left at the top of a page??

A. white-space
B. widows
C. display
D. width
Answer» C. display
69.

*/*_Which of the following property defines when the animation will start. It allows an animation to begin execution some time after it is applied??

A. animation-stop
B. animation-delay
C. animation-start
D. animation-control
Answer» C. animation-start
70.

*/*_Which of the following property defines when the transition will start and it allows a transition to begin execution some some period of time from when it is applied??

A. transform-delay
B. transition-delay
C. transform-duration
D. none of the mentioned
Answer» C. transform-duration
71.

*/*_Which of the following transform property value defines a 2D skew transformation along the X- and the Y-axis??

A. skewX(angle)
B. skewY(angle)
C. skew(x-angle,y-angle)
D. none of the mentioned
Answer» D. none of the mentioned
72.

*/*_Which of the following CSS Property selects an animation defined in an @keyframes rule and applies it to the element??

A. animation
B. animation-name
C. animation-element
D. none of the mentioned
Answer» C. animation-element
73.

*/*_An ___________ rule is used to define a page block for printed styles.?

A. @important
B. @page
C. @css
D. @html
Answer» C. @css
74.

*/*_Which of the following property defines the width of a rule between columns in a multicolumn text flow??

A. column-width
B. column-rule
C. column-float
D. column-rule-width
Answer» E.
75.

*/*_Which of the following measurement is relative to 1% of the height of the viewport??

A. ch
B. rem
C. %
D. vh
Answer» E.
76.

*/*_Choose the CSS property which specifies the placement of a table caption.?

A. table-caption
B. cell-caption
C. caption-side
D. caption-adjust
Answer» D. caption-adjust
77.

*/*_How a style sheet can be glued to the HTML document??

A. Import a style sheet using the CSS @import notation.
B. Apply the basic, document-wide style sheet for the document by using the style element
C. Link an external style sheet to the document using the link elemen
D. All of the mentioned
Answer» E.
78.

*/*_Which of the following property specifies the stack order of an element??

A. order
B. z-index
C. p-index
D. auto
Answer» C. p-index
79.

*/*_Which of the following property is used to set the color of the arrow icon within a scroll bar??

A. scrollbar-base-color
B. scrollbar-arrow-color
C. scrollbar-darkshadow-color
D. scrollbar-face-color
Answer» C. scrollbar-darkshadow-color
80.

*/*_Which of the following is the Color Format that is the CSS3 HSL value with a fourth value to set the alpha channel value for the color to define the opacity of the element??

A. HSLa Color
B. HSL Color
C. RGBa Color
D. RGB Color
Answer» B. HSL Color
81.

*/*_The __________ may be able to specify style information for a particular document. For example, the user may specify a file that contains a style sheet or the user agent may provide an interface that generates a user style sheet.?

A. author
B. user
C. user-agent
D. none of the mentioned
Answer» C. user-agent
82.

*/*____________ property specifies how the position of the mask should be calculated by setting the origin relative to different locations within an element’s box.?

A. mask-image
B. mask-box-image
C. mask-attachment
D. mask-origin
Answer» E.
83.

*/*_Which of the following CSS Property Defines the area of an absolutely positioned element that remains visible??

A. clamp
B. clip
C. visibility
D. static
Answer» C. visibility
84.

*/*_Which of the following property sets the coordinates of the clipping shape that exposes or hides the content of absolutely positioned elements??

A. clip
B. clamp
C. clip-wekit
D. clamp-webkit
Answer» C. clip-wekit
85.

*/*_____________ property sets the coordinates of the clipping shape that exposes or hides the content of absolutely positioned elements?

A. clammper
B. clip
C. clear
D. none of the mentioned
Answer» C. clear
86.

*/*_The _____________ property allows us to include the padding and border in an element’s total width and height.?

A. margin
B. box-sizing
C. padding
D. none of the mentioned
Answer» C. padding
87.

*/*_Which of the following property defines the style, width, and color of the rule divider between columns in a multicolumn text flow??

A. column
B. column-rule
C. column-change
D. column-check
Answer» C. column-change
88.

*/*_Which of the following measurement is relative to 1percentage of the width of the viewport??

A. vw
B. vmax
C. vmin
D. ch
Answer» B. vmax
89.

*/*_An ___________ rule can be used to define style rules for multiple media types in a single embedded style sheet?

A. @media
B. @charset
C. @font-face
D. None of the mentioned
Answer» B. @charset
90.

*/*_Which of the following property controls how spaces, tabs, and newline characters are handled in an element??

A. space
B. display
C. widows
D. white-space
Answer» E.
91.

%_Which of the following rule allows users to import style rules from other style sheets?_%

A. @media
B. @important
C. @import
D. @style
Answer» D. @style
92.

%_Which of the following CSS Property specifies the x-coordinate in the position of the mask?_%

A. mask-x
B. mask-x-origin
C. mask-position-x
D. mask-origin-x
Answer» D. mask-origin-x
93.

%_Which of the following property of a table element specifies the width that should appear between table cells?_%

A. border-collapse
B. border-spacing
C. caption-side
D. empty-cells
Answer» C. caption-side
94.

_ Which of the following property is used to set order in a table?$?

A. border
B. padding
C. dotted
D. text
Answer» B. padding
95.

_ Which of the following property sets the vertical alignment?$?

A. align
B. vertical
C. vertical-align
D. vertical-alignment
Answer» C. vertical-align
96.

_ Which of the following property is used to define which properties a transition will be applied to?$?

A. transition
B. transition-property
C. transition-wrap
D. transition-style
Answer» C. transition-wrap
97.

_ Which of the following property defines the text selection policy for various portions of a document?$?

A. user-origin
B. user-select
C. user
D. all of the mentioned
Answer» C. user
98.

_ Which of the following property is used to control the text direction, much like the dir attribute for (X)HTML tags?$?

A. left
B. right
C. direction
D. direct
Answer» D. direct
99.

_ Which of the following property specifies the direction in which a marquee should move?$?

A. marquee
B. marquee-play
C. marquee-direction
D. none of the mentioned
Answer» D. none of the mentioned
100.

_ Which of the following property is used to indicate whether the backside of an element is visible if the element is rotated to display the back?$?

A. background-clip
B. backface-visibility
C. behavior
D. background-origin
Answer» C. behavior