CSS Questions & Answers – Major Themes

This set of CSS Multiple Choice Questions & Answers (MCQs) focuses on “Major Themes”.

1. _____________ property specifies the direction in which a marquee should move.
a) marquee-style
b) marquee-play-count
c) marquee-direction
d) none of the mentioned
View Answer

Answer: c
Explanation: Syntax:

marquee-direction: forward | reverse

2. ___________ property defines a mask to be used as a box’s overlay in order to clip the box to a complex shape.
a) mask
b) mask-box-image
c) mask-attachment
d) mask-origin
View Answer

Answer: a
Explanation: Syntax:

mask: mask-attachment

3. _____________ property specifies whether the mask should scroll or stay fixed when the page is scrolled.
a) mask-image
b) mask-box-image
c) mask-attachment
d) mask-origin
View Answer

Answer: c
Explanation: Syntax:

advertisement
advertisement
mask-attachment: fixed | scroll

4. ___________ 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) mask-image
b) mask-box-image
c) mask-attachment
d) mask-origin
View Answer

Answer: d
Explanation: Syntax:

mask-origin: border | content | padding

5. Which of the following property defines the offset from an element’s border and its outline?
a) outline-radius
b) opacity
c) outline-offset
d) overflow-style
View Answer

Answer: c
Explanation: Syntax:

advertisement
outline-offset: length | inherit

6. Which of the following property allows a marquee to be used in the case of a text overflow?
a) overflow-style
b) opacity
c) overflow-x
d) perspective
View Answer

Answer: c
Explanation: Syntax:

advertisement
overflow-style: auto | marquee-block | marquee-line

7. Which of the following property defines a color for the face of a scroll bar, including arrow regions and the scroll box?
a) scrollbar-base-color
b) scrollbar-arrow-color
c) scrollbar-darkshadow-color
d) scrollbar-face-color
View Answer

Answer: d
Explanation: Syntax

scrollbar-face-color: colors

8. Which of the following property is used to give a 3-D sense of depth to an element?
a) overflow-style
b) opacity
c) overflow-x
d) perspective
View Answer

Answer: d
Explanation: Syntax:

perspective: none | number

9. 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
View Answer

Answer: b
Explanation: Syntax:

scrollbar-arrow-color: color

10. Which of the following property defines the text alignment rules on the alignment of the last line of an element?
a) text-justify
b) text-fill-color
c) text-align-last
d) none of the mentioned
View Answer

Answer: c
Explanation: Syntax

text-align-last: auto | center | justify | left | right | inherit

Sanfoundry Global Education & Learning Series – CSS.

To practice all areas of CSS, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.