

MCQOPTIONS
Saved Bookmarks
This section includes 29 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 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 | |
2. |
Which of the following measurement defines a measurement in centimeters? |
A. | c |
B. | cm |
C. | centi |
D. | centimeter |
Answer» C. centi | |
3. |
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 | |
4. |
Which of the following measurement is relative to 1% of the height of the viewport? |
A. | ch |
B. | rem |
C. | % |
D. | vh |
Answer» E. | |
5. |
A single _____________ rule can be used in an external sheet to define character set encoding of the style rules and values. |
A. | @media |
B. | @charset |
C. | @font-face |
D. | None of the mentioned |
Answer» C. @font-face | |
6. |
Which of the following measurement defines a measurement in inches? |
A. | px |
B. | in |
C. | em |
D. | pt |
Answer» C. em | |
7. |
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 | |
8. |
An ___________ rule is used to define a page block for printed styles. |
A. | @important |
B. | @page |
C. | @css |
D. | @html |
Answer» C. @css | |
9. |
______________ property defines whether table cell borders are connected or separate. |
A. | pre |
B. | border-color |
C. | border-collapse |
D. | table |
Answer» D. table | |
10. |
____________ property associates a background image with an element. |
A. | image |
B. | background-image |
C. | float |
D. | none of the mentioned |
Answer» C. float | |
11. |
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 | |
12. |
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 | |
13. |
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 | |
14. |
Which of the following property is used to define the number of times an animation should play? |
A. | animation-direction |
B. | animation-iteration-count |
C. | animation |
D. | animation-timing-function |
Answer» C. animation | |
15. |
Which of the following property is used to define the animations that should be run? |
A. | animation-delay |
B. | animation-iteration-count |
C. | animation-duration |
D. | animation-name |
Answer» E. | |
16. |
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 | |
17. |
Which of the following property is used to apply visual effects to associated elements? |
A. | filter |
B. | effect |
C. | adjust |
D. | none of the mentioned |
Answer» B. effect | |
18. |
The default value for the float property is right.State true or false. |
A. | True |
B. | False |
Answer» C. | |
19. |
Which of the following values are zccepted by the float Property? |
A. | left |
B. | right |
C. | none |
D. | all of the mentioned |
Answer» E. | |
20. |
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 | |
21. |
Which of the following property is used to set order in a table? |
A. | border |
B. | padding |
C. | dotted |
D. | text |
Answer» B. padding | |
22. |
Which of the following property is used to align the text in a table? |
A. | align |
B. | text |
C. | text-align |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
23. |
Which of the following property is used to change the height of a table? |
A. | height |
B. | table-height |
C. | resize |
D. | position-y |
Answer» B. table-height | |
24. |
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 | |
25. |
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. | |
26. |
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 | |
27. |
Which of the following property defines the style of quotation marks to be used with embedded quotations? |
A. | article |
B. | para |
C. | quote |
D. | quotes |
Answer» E. | |
28. |
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 | |
29. |
@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. | |