MCQOPTIONS
Saved Bookmarks
This section includes 141 Mcqs, each offering curated multiple-choice questions to sharpen your Css knowledge and support exam preparation. Choose a topic below to get started.
| 101. |
_Which of the following is not value for the font-stretch(Font descriptor)?$? |
| A. | normal |
| B. | 50% |
| C. | expanded |
| D. | ultra-expanded |
| Answer» C. expanded | |
| 102. |
_Which of the following property influences the horizontal alignment of an element, making it “float” toward the left or right margin of its containing element?$? |
| A. | float |
| B. | float-left |
| C. | float-right |
| D. | float-align |
| Answer» E. | |
| 103. |
_Which of the following 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. | list-position-style |
| Answer» D. list-position-style | |
| 104. |
_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. | |
| 105. |
_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 |
| Answer» C. border-right | |
| 106. |
Which of the following sets what kind of line decorations are added to an element, such as underlines, overlines, etc?$? |
| A. | text-style |
| B. | text-decoration |
| C. | text-line |
| D. | text-decoration-line |
| Answer» B. text-decoration | |
| 107. |
Which of the following property sets the size of the font?$? |
| A. | font-size |
| B. | font-variant |
| C. | font-style |
| D. | font-weight |
| Answer» B. font-variant | |
| 108. |
Which of the following property is used to define whether an element should be resized and, if so, upon what axis?$? |
| A. | axis |
| B. | resize |
| C. | set-origin |
| D. | set-axis |
| Answer» C. set-origin | |
| 109. |
Which of the following is not an appropriate value for border-collapse?$? |
| A. | all |
| B. | collapse |
| C. | inherit |
| D. | separate |
| Answer» B. collapse | |
| 110. |
Which of the following property specifies the transparency of an element?$? |
| A. | alpha |
| B. | opacity |
| C. | opac |
| D. | none of the mentioned |
| Answer» C. opac | |
| 111. |
Which of the following property sets the width of an element’s complete border?$? |
| A. | border-width |
| B. | width |
| C. | border-depth |
| D. | none of the mentioned |
| Answer» B. width | |
| 112. |
The __________ rule makes it possible to define different style rules for different media types in the same stylesheet.$? |
| A. | audio/video |
| B. | sink |
| C. | @media |
| D. | @canvas |
| Answer» D. @canvas | |
| 113. |
Which of the following property is used to draw a line around elements outside the borders?$? |
| A. | line |
| B. | padding |
| C. | outline |
| D. | border |
| Answer» D. border | |
| 114. |
Which of the following property sets the speed at which the voice synthesized by a speech media agent will read content?$? |
| A. | voice-volume |
| B. | voice-pitch |
| C. | voice-stress |
| D. | voice-rate |
| Answer» E. | |
| 115. |
Select the CSS property that sets the width of an element’s bottom border?$? |
| A. | border-width |
| B. | border-bottom |
| C. | border-width-down |
| D. | border-bottom-width |
| Answer» E. | |
| 116. |
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 |
| Answer» D. none of the mentioned | |
| 117. |
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 |
| Answer» D. none of the mentioned | |
| 118. |
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 | |
| 119. |
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. | |
| 120. |
Which of the following property is used to control the repetition of an image in the background?$? |
| A. | background-color |
| B. | background-image |
| C. | background-repeat |
| D. | background-position |
| Answer» D. background-position | |
| 121. |
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. | |
| 122. |
Which of the following property is used to control the repetition of an image in the background?? |
| A. | background-color |
| B. | background-image |
| C. | background-repeat |
| D. | background-position |
| Answer» D. background-position | |
| 123. |
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 | |
| 124. |
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. | |
| 125. |
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 |
| Answer» D. none of the mentioned | |
| 126. |
Which of the following is used to associate a font name to be used in a style sheet with somedownloadable font? |
| A. | @font-face |
| B. | @charset |
| C. | @media |
| D. | !important |
| Answer» B. @charset | |
| 127. |
Which of the following property sets an element’s background color?$ |
| A. | background-image |
| B. | background-color |
| C. | background-colors |
| D. | background-position |
| Answer» C. background-colors | |
| 128. |
Which of the following property defines a highlight color for a scroll bar and scroll arrows? |
| A. | scrollbar-color |
| B. | scrollbar-highlight |
| C. | scrollbar-highlight-color |
| D. | scrollbar-highlight-background |
| Answer» D. scrollbar-highlight-background | |
| 129. |
Which of the following property specifies the placement of an element in relation to floating objects? |
| A. | clear |
| B. | color |
| C. | space |
| D. | none of the mentioned |
| Answer» B. color | |
| 130. |
Which of the following property defines the color of an element’s top border?$ |
| A. | border-color |
| B. | border-top |
| C. | border-top-color-webkit |
| D. | border-top-color |
| Answer» E. | |
| 131. |
Which of the following value specifies a solid outline? |
| A. | bold |
| B. | rock |
| C. | solid |
| D. | dashed |
| Answer» D. dashed | |
| 132. |
Which of the following specifies what parts of an element’s content are skipped over when applying any text decoration?$ |
| A. | @font-text |
| B. | font-style |
| C. | text-skip |
| D. | text-decoration-skip |
| Answer» E. | |
| 133. |
Which of the following defines a measurement relative to a font's x-height? |
| A. | % |
| B. | cm |
| C. | em |
| D. | ex |
| Answer» E. | |
| 134. |
Which of the following property applies one or more shadows to text? |
| A. | text-shadow |
| B. | shadowed |
| C. | shadow |
| D. | word-shadow |
| Answer» B. shadowed | |
| 135. |
Which of the following property sets list-style-type, list-style-position, and liststyle-image? |
| A. | style |
| B. | list-style |
| C. | menu-style |
| D. | img-style |
| Answer» C. menu-style | |
| 136. |
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 |
| Answer» D. background-allowance | |
| 137. |
What does aural media type is used for ? |
| A. | For use with low-resolution teletypes, terminals, or other devices with limited display capabilities |
| B. | For use with Braille printers |
| C. | For use with speech synthesizers |
| D. | For use with projected media (direct computer-to-projector presentations), or printing transparencies for projection |
| Answer» D. For use with projected media (direct computer-to-projector presentations), or printing transparencies for projection | |
| 138. |
Which of the following specifies the width of an outline? |
| A. | outline-size |
| B. | outline-width |
| C. | outline-height |
| D. | both a and b |
| Answer» C. outline-height | |
| 139. |
Which of the following is not a appropriate value for voice-balance? |
| A. | left |
| B. | leftwards |
| C. | up |
| D. | centre |
| Answer» D. centre | |
| 140. |
Which of the following property sets the speaker’s voice used by a speech media agent to read an element?# |
| A. | voice-family |
| B. | voice-check |
| C. | voice-control |
| D. | none of the mentioned |
| Answer» B. voice-check | |
| 141. |
Which of the following CSS property defines the different properties of all four sides of an element’s border in a single declaration?# |
| A. | border |
| B. | padding |
| C. | border-collapse |
| D. | border-width |
| Answer» E. | |