Explore topic-wise MCQs in Computer Science.

This section includes 13 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Science knowledge and support exam preparation. Choose a topic below to get started.

1.

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
2.

Which of the following property defines a color for the face of a scroll bar, including arrow regions and the scroll box?

A. scrollbar-face
B. scrollbar-face-color
C. scrollbar-face-background
D. scrollbar-background
Answer» D. scrollbar-background
3.

Which of the following property defines the offset from an element’s border and its outline?

A. outline-border
B. outline-offset
C. outline-radius
D. none of the mentioned
Answer» C. outline-radius
4.

WHICH_OF_THE_FOLLOWING_PROPERTY_DEFINES_A_COLOR_FOR_THE_FACE_OF_A_SCROLL_BAR,_INCLUDING_ARROW_REGIONS_AND_THE_SCROLL_BOX??$

A. scrollbar-face
B. scrollbar-face-color
C. scrollbar-face-background
D. scrollbar-background
Answer» D. scrollbar-background
5.

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
6.

Which of the following property sets the base color for a scroll bar, which will include the scroll box, track, and scroll arrows?

A. scrollbar-base
B. scrollbar-base-color
C. scrollbar-background
D. none of the mentioned
Answer» D. none of the mentioned
7.

Which of the following property defines the alignment of Ruby text as defined by a tag, in relation to base text defined by a tag?

A. ruby-align
B. ruby-text
C. ruby
D. none of the mentioned
Answer» B. ruby-text
8.

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

Which of the following property is used to give a 3-D sense of depth to an element?

A. animation
B. perspec
C. sense
D. perspective
Answer» E.
10.

Which of the following property defines how content should behave when it exceeds the width of its enclosing element?

A. overflow-y
B. overflow-x
C. overflow-z
D. overflow-width
Answer» C. overflow-z
11.

Which of the following property allows a marquee to be used in the case of a text overflow?

A. overflow-style
B. overflow-text
C. overflow-marquee
D. none of the mentioned
Answer» B. overflow-text
12.

Which of the following property defines the offset from an element’s border and its outline?$

A. outline-border
B. outline-offset
C. outline-radius
D. none of the mentioned
Answer» C. outline-radius
13.

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