MCQOPTIONS
Saved Bookmarks
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.
| 1. |
The CSS cascade assigns a weight to each style rule. State true or false. |
| A. | rue |
| B. | alse |
| Answer» B. alse | |
| 2. |
The ____________ represents the result of the cascade: it is the declared value that wins the cascade. |
| A. | pecified Value |
| B. | ctual value |
| C. | omputed value |
| D. | ascaded value |
| Answer» E. | |
| 3. |
Which of the following generate “virtual” rules representing their effects when running? |
| A. | OM’s |
| B. | important |
| C. | SS Animations |
| D. | nheritance |
| Answer» D. nheritance | |
| 4. |
Which of the following property of a table element specifies whether the border should be shown if a cell is empty? |
| A. | order-collapse |
| B. | order-spacing |
| C. | aption-side |
| D. | mpty-cells |
| Answer» E. | |
| 5. |
Which of the following property of a table element specifies the width that should appear between table cells? |
| A. | order-collapse |
| B. | order-spacing |
| C. | aption-side |
| D. | mpty-cells |
| Answer» C. aption-side | |
| 6. |
Which of the following property of a anchor element signifies unvisited hyperlinks? |
| A. | ink |
| B. | isited |
| C. | over |
| D. | ctive |
| Answer» B. isited | |
| 7. |
Which of the following property is used to set the background image of an element? |
| A. | ackground-color |
| B. | ackground-image |
| C. | ackground-repeat |
| D. | ackground-position |
| Answer» C. ackground-repeat | |
| 8. |
Which of the following Microsoft-introduced property defines the position of underlining set by the text-decoration property? |
| A. | ext-underline |
| B. | ext-underline-origin |
| C. | ext-underline-position |
| D. | one of the mentioned |
| Answer» E. | |
| 9. |
Which of the following CSS Property specifies the x-coordinate in the position of the mask? |
| A. | ask-x |
| B. | ask-x-origin |
| C. | ask-position-x |
| D. | ask-origin-x |
| Answer» D. ask-origin-x | |
| 10. |
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. | ist-style |
| B. | ist-position |
| C. | ist-style-position |
| D. | ll of the mentioned |
| Answer» D. ll of the mentioned | |
| 11. |
Which of the following property is used to define which properties a transition will be applied to? |
| A. | ransition |
| B. | ransition-property |
| C. | ransition-wrap |
| D. | ransition-style |
| Answer» C. ransition-wrap | |
| 12. |
Which of the following property is used to describe all transition-related properties at once? |
| A. | ransition-set |
| B. | ransition-wrap |
| C. | ransition |
| D. | nimation |
| Answer» D. nimation | |
| 13. |
Which of the following selector same as :after; changed under CSS3 to make pseudo-elements obvious? |
| A. | :after |
| B. | after |
| C. | after |
| D. | one of the mentioned |
| Answer» B. after | |
| 14. |
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. | hadder |
| B. | ask |
| C. | ask-attachment |
| D. | ask-image |
| Answer» C. ask-attachment | |
| 15. |
Which of the following property specifies an element’s display type and can override an element’s defined presentation? |
| A. | ontent |
| B. | isplay |
| C. | isibility |
| D. | one of the mentioned |
| Answer» E. | |
| 16. |
Which of the following transform property value defines a 2D skew transformation along the X- and the Y-axis? |
| A. | kewX(angle) |
| B. | kewY(angle) |
| C. | kew(x-angle,y-angle) |
| D. | one of the mentioned |
| Answer» D. one of the mentioned | |
| 17. |
Which of the following transform property value defines a perspective view for a 3D transformed element? |
| A. | erspective3d(n) |
| B. | erspective(n,n,n) |
| C. | erspective(n) |
| D. | one of the mentioned |
| Answer» C. erspective(n) | |
| 18. |
Which of the following transform property value defines a 3D scale transformation? |
| A. | ircle(x,y,z) |
| B. | cale3d(x,y,z) |
| C. | otate3d(x,y,z,angle) |
| D. | otate(angle) |
| Answer» C. otate3d(x,y,z,angle) | |
| 19. |
Which of the following transform property value defines a 3D rotation? |
| A. | otate3d(x,y,z,angle) |
| B. | otated(x,y,z,angle) |
| C. | otate-all(x,y,z,angle) |
| D. | otate(x,y,z,angle) |
| Answer» B. otated(x,y,z,angle) | |
| 20. |
Which of the following transform property value defines a 3D transformation, using a 4×4 matrix of 16 values? |
| A. | atrix3d(n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n) |
| B. | atrix(n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n) |
| C. | atrix2d(n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n) |
| D. | ll of the mentioned |
| Answer» B. atrix(n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n) | |
| 21. |
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. | ransform-delay |
| B. | ransition-delay |
| C. | ransform-duration |
| D. | one of the mentioned |
| Answer» C. ransform-duration | |
| 22. |
Which of the following property defines the length of time that a transition takes? |
| A. | ransition |
| B. | ransition-duration |
| C. | ransform-duration |
| D. | ransition-property |
| Answer» C. ransform-duration | |
| 23. |
Which of the following property sets the distance between an element’s right border and the rightmost edge of its content? |
| A. | uto |
| B. | adding-left |
| C. | adding-right |
| D. | adding-top |
| Answer» D. adding-top | |
| 24. |
Which of the following is the Color Format that is a CSS’s six-digit hexadecimal format as color defined in (X)HTML? |
| A. | pecification defined named colors |
| B. | ystem Color Names |
| C. | -Hex Color |
| D. | -Hex Color |
| Answer» D. -Hex Color | |
| 25. |
___________ 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. | ask-image |
| B. | ask-box-image |
| C. | ask-attachment |
| D. | ask-origin |
| Answer» E. | |
| 26. |
___________ property defines a mask to be used as a box’s overlay in order to clip the box to a complex shape. |
| A. | ask |
| B. | ask-box-image |
| C. | ask-attachment |
| D. | ask-origin |
| Answer» B. ask-box-image | |
| 27. |
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. | elay |
| C. | nherit |
| D. | mportant |
| Answer» D. mportant | |
| 28. |
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. | uthor |
| B. | ser |
| C. | ser-agent |
| D. | one of the mentioned |
| Answer» C. ser-agent | |
| 29. |
The __________ specifies style sheets for a source document according to the conventions of the document language. For instance, in HTML, style sheets may be included in the document or linked externally. |
| A. | uthor |
| B. | ser |
| C. | ser-agent |
| D. | one of the mentioned |
| Answer» B. ser | |
| 30. |
The ___________________ property specifies whether or not an element should be resizable by the user. |
| A. | utline Offset |
| B. | esize |
| C. | nit |
| D. | one of the mentioned |
| Answer» C. nit | |
| 31. |
Choose the CSS property which specifies the placement of a table caption. |
| A. | able-caption |
| B. | ell-caption |
| C. | aption-side |
| D. | aption-adjust |
| Answer» D. aption-adjust | |
| 32. |
Which of the following property aligns the flexible container’s items when the items do not use all available space on the main-axis? |
| A. | rap-content |
| B. | ix-content |
| C. | djust-content |
| D. | ustify-content |
| Answer» E. | |
| 33. |
Which of the following property defines the style, width, and color of the rule divider between columns in a multicolumn text flow? |
| A. | olumn |
| B. | olumn-rule |
| C. | olumn-change |
| D. | olumn-check |
| Answer» C. olumn-change | |
| 34. |
_____________ property defines whether table cell borders are connected or separate. |
| A. | re |
| B. | order-color |
| C. | order-collapse |
| D. | able |
| Answer» D. able | |
| 35. |
______________ property sets the background image to scroll or not to scroll with its associated element’s content |
| A. | ackground |
| B. | ackground-position |
| C. | ackground-attachment |
| D. | one of the mentioned |
| Answer» D. one of the mentioned | |
| 36. |
Which of the following measurement is relative to 1percentage of viewport’s larger dimension? |
| A. | w |
| B. | max |
| C. | min |
| D. | h |
| Answer» C. min | |
| 37. |
The _____________ property allows us to include the padding and border in an element’s total width and height. |
| A. | argin |
| B. | ox-sizing |
| C. | adding |
| D. | one of the mentioned |
| Answer» C. adding | |
| 38. |
The CSS cascade assigns a weight to each style rule. State true or false.%! |
| A. | True |
| B. | False |
| Answer» B. False | |
| 39. |
Which of the following property is used to define the time it takes one iteration of an animation to play?%! |
| A. | transition-property |
| B. | transition-timing |
| C. | transition-duration |
| D. | user-select |
| Answer» D. user-select | |
| 40. |
Which of the following CSS Property controls how an element is positioned?%! |
| A. | position |
| B. | set |
| C. | static |
| D. | fix |
| Answer» B. set | |
| 41. |
The ____________ represents the result of the cascade: it is the declared value that wins the cascade.%! |
| A. | specified Value |
| B. | actual value |
| C. | computed value |
| D. | cascaded value |
| Answer» E. | |
| 42. |
Which of the following property is used to define how nested items are rendered in a 3-D space, the choice being either flattened or with their dimensions preserved?%! |
| A. | transition-duration |
| B. | transition-delay |
| C. | transition |
| D. | transform-style |
| Answer» E. | |
| 43. |
@keyframes rule is used to define the properties that will control the audio/video formats. State true or false.%! |
| A. | True |
| B. | False |
| Answer» C. | |
| 44. |
The _________________ is the result of resolving the specified value.%! |
| A. | cascaded value |
| B. | computed value |
| C. | specified value |
| D. | declared value |
| Answer» C. specified value | |
| 45. |
Which of the following property allows elements to be offset, rotated, scaled, and skewed in a variety of different ways?%! |
| A. | transform-style |
| B. | transform |
| C. | transition |
| D. | transform-origin |
| Answer» C. transition | |
| 46. |
The _______________ is the result of taking the computed value and completing any remaining calculations to make it the absolute theoretical value used in the layout of the document.%! |
| A. | cascaded value |
| B. | declared value |
| C. | used value |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 47. |
The default value for the float property is right.State true or false.%! |
| A. | True |
| B. | False |
| Answer» C. | |
| 48. |
Which of the following generate “virtual” rules representing their effects when running?%! |
| A. | DOM’s |
| B. | !important |
| C. | CSS Animations |
| D. | Inheritance |
| Answer» D. Inheritance | |
| 49. |
Which of the following property is used to control the behavior of floating elements?%! |
| A. | format |
| B. | clean |
| C. | clear |
| D. | remove |
| Answer» D. remove | |
| 50. |
Which of the following property specifies the number of times an animation should run?%! |
| A. | animation-repeat |
| B. | animation-count |
| C. | animation-iteration-count |
| D. | all of the mentioned |
| Answer» D. all of the mentioned | |