Explore topic-wise MCQs in Css.

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

1.

Which of the following is not a appropriate value for voice-rate?

A. slow
B. fast
C. medium
D. none of the mentioned
Answer» E.
2.

Which of the following property sets the font face to be used for text?

A. font
B. font-text
C. font-family
D. none of the mentioned
Answer» D. none of the mentioned
3.

Which of the following option best explain this code “background-image: repeating-radial-gradient(circle at 50% 100%, #FFEB79, #D9CC3C 5%);”?

A. Creating Infinte circular Gradients
B. Creating Repeating Circular Gradients
C. Creating Repeating Radial Gradients
D. Creating Infinite Radial Gradients
Answer» D. Creating Infinite Radial Gradients
4.

Which of the following option best explain this code “background-image: repeating-linear-gradient(-45deg, #426A77, #FFF 6px);”?

A. Creating Straight Stripes
B. Creating Cubic Stripes
C. Creating Spiral Stripes
D. Creating Diagonal Stripes
Answer» E.
5.

Media type names are case-insensitive. State true or false.

A. True
B. False
Answer» B. False
6.

If an @media/@import rule contains a malformed media type (not an identifier) then the statement is valid. State true or false.

A. True
B. False
Answer» C.
7.

Which of the following property defines a color for the right and bottom edges of a scroll bar.

A. scrollbar-color
B. scrollbar-darkshadow-color
C. scrollbar-shadow
D. scrollbar-shadow-color
Answer» E.
8.

Which of the following property defines a shadow effect for text?

A. box-shadow
B. img-shadow
C. text-shadow
D. none of the mentioned
Answer» E.
9.

Which of the following property defines the style for the left border of an element?

A. border-style
B. border-left-style
C. border-left-width
D. border-right
Answer» C. border-left-width
10.

Which of the following property sets a consistent margin on all four sides of the affected element?

A. boder
B. margin
C. padding
D. none fof the mentioned
Answer» C. padding
11.

Which of the following box-sizing property value is described by width and height include content, padding, and borders?

A. border-box
B. content-box
C. content-box
D. none fof the mentioned
Answer» B. content-box
12.

The @font-face rules assign different names to the regular and bold versions of the font.State true or false.

A. True
B. False
Answer» B. False
13.

Which of the following Viewport Property determines whether the display can be zoomed inand out?

A. scale
B. set-scale
C. adjust-scale
D. user-scalable
Answer» E.
14.

Which of the following Media Query determines if output is monochrome and how many bits are used for gray display?

A. gray
B. chrome
C. monochrome
D. none of the mentioned
Answer» D. none of the mentioned
15.

A media query consists of a media type and zero or more expressions that check for the conditions of particular media features. State true or false.

A. True
B. False
Answer» B. False
16.

Which of the following option best explain this code “background-image: repeating-linear-gradient(to right, #D9CC3C, #FFEB79 5%, #D9CC3C 10%);”?

A. Creating a Repeating Gradient
B. Creating a Mix Repeating Gradient
C. Creating a Shadow Repeating Gradient
D. Creating a Smooth Repeating Gradient
Answer» E.