NIELIT M2-R5 MCQs Questions and Answers on CSS

NIELIT M2-R5 MCQs Questions and Answers on CSS

121-Which of the following property defines the visual style of up to four different sides of a border?
A) border-color
B) border-img ✔️
C) border-visual
D) border-style

122-Which of the following property defines in a shorthand form the width, style, and color for the top border of an element?
A) border-style
B) border-height
C) border-width
D) border-top ✔️

123-Which of the following property sets the shadow for a box element?
A) shadow
B) set-shadow ✔️
C) canvas-shadow
D) box-shadow

124-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 ✔️

125-Which of the following property defines a shadow color for the right and bottom edges of a scroll bar?
A) scrollbar-darkshadow
B) scrollbar-shadow-color
C) scrollbar-darkshadow-color ✔️
D) None of the mentioned

126-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 ✔️

127-Which of the following CSS Gradient Functions sets the direction and colors of a gradient that fades from one color to the next in a straight line?
A) gradient()
B) line-gradient()
C) linear-gradient()
D) None of the mentioned ✔️

128-Which of the following CSS Gradient Functions creates a circular or elliptical gradient, and optionally sets its shape, size, and position?
A) radial-gradient()
B) circular-gradient()
C) elliptical-gradient()✔️
D) None of the mentioned

129-Which of the following CSS Gradient Functions Creates a radial gradient that repeats infinitely?
A) repeat-radial-gradient()✔️
B) repeating-radial-gradient()
C) infinite-radial-gradient()
D) none of the mentioned

130-Which of the following is not a browser-specific versions of linear-gradient()?
A) -moz-linear-gradient()
B) -o-linear-gradient()
C) -mac-linear-gradient()✔️
D) -webkit-linear-gradient()

131-Which of the following argument is not accepted by radial-gradient() function?
A) Shape
B) Time ✔️
C) Color stops
D) Position

132-Which of the following function creates a CSS gradient image that can be used anywhere an image URL is required, including background-image, border-image, and list-style properties?
A) canvas
B) gradient ✔️
C) animation
D) color

133-Which of the following option best explain this code “background-image: repeating-radial-gradient(circle at 50% 100%, #FFEB79, #D9CC3C 5%);”?
A) Creating Infinite circular Gradients
B) Creating Repeating Circular Gradients
C) Creating Repeating Radial Gradients ✔️
D) Creating Infinite Radial Gradients

134-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 ✔️

135-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 ✔️

136-Which of the following Property controls the display of small caps?
A) font-size
B) font-variant ✔️
C) font-style
D) font-weight

137-Which of the following font-weight property make the text lighter in relation to its parent?
A) unfocus
B) normal
C) lighter ✔️
D) nirmal

138-Which of the following property converts text to initial capitals, all uppercase, or all lowercase?
A) text-transform ✔️
B) text
C) text-decoration
D) text-uppercase

139-Which of the following font-variant property render text using the same letter case as in the underlying code?
A) bold
B) small-caps
C) normal ✔️
D) none of the mentioned

140-Which of the following property sets the alignment of the last line of a text block?
A) overflow-wrap
B) text-align-last ✔️
C) text-transform
D) text-indent

141-Which of the following property controls how spaces and word wrapping are handled?
A) spacing
B) text-space
C) white-space ✔️
D) word-spacing

142-Which of the following property specifies what line decorations, if any, are added to the text?
A) text-decoration-line ✔️
B) text-line-decoration
C) text-decoration-style
D) text-style-decoration

143-Which of the following property applies one or more shadows to text?
A) text-shadow ✔️
B) shadowed
C) shadow
D) word-shadow

144-Which of the following property allows long text, such as a URL, to be broken if it would otherwise over?
A) text-transform
B) word-wrap ✔️
C) text-overflow
D) text-indent

145-Which of the following property sets the background image to scroll or not to scroll with its associated element’s content?
A) background-scroll
B) background-attach
C) background-attachment ✔️
D) background-allowance

146-Which of the following property sets an element’s background color?
A) background-image
B) background-color ✔️
C) background-colors
D) background-position

147-Which of the following property defines the color of an element’s right border?
A) border-right-colors
B) border-right-color ✔️
C) border-right
D) border-color

148-Which of the following property defines the space between cells in a table?
A) auto
B) border
C) spacing
D) border-spacing ✔️

O LEVEL M2-R5 (WEB DESIGNING AND PUBLISHING) MCQs OF CSS

Related Link