Explore topic-wise MCQs in Computer Science.

This section includes 12 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 allows long text, such as a URL, to be broken if it would otherwise over?

A. text-transform
B. word-wrap
C. text-overflow
D. text-indent
Answer» C. text-overflow
2.

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

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

Which of the following property allows long text, such as a URL, to be broken if it would otherwise over?$

A. text-transform
B. word-wrap
C. text-overflow
D. text-indent
Answer» C. text-overflow
5.

Which of the following property specifies what line decorations, if any, are added to the text?

A. text-decoration-line
B. text-line-decoration
C. text-decoration-style
D. text-style-decoration
Answer» B. text-line-decoration
6.

Which of the following property controls how spaces and word wrapping are handled?

A. spacing
B. text-space
C. white-space
D. word-spacing
Answer» D. word-spacing
7.

Which of the following property sets the alignment of the last line of a text block?

A. overflow-wrap
B. text-align-last
C. text-transform
D. text-indent
Answer» C. text-transform
8.

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

Which of the following property converts text to initial capitals, all uppercase, or all lowercase?

A. text-transform
B. text
C. text-decoration
D. text-uppercase
Answer» B. text
10.

Which of the following font-weight property make the text lighter in relation to its parent?

A. unfocus
B. normal
C. lighter
D. normal
Answer» D. normal
11.

Which of the following Property controls the display of small caps?

A. font-size
B. font-variant
C. font-style
D. font-weight
Answer» C. font-style
12.

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