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 value specifies a solid outline?

A. bold
B. rock
C. solid
D. dashed
Answer» D. dashed
2.

Which of the following specifies the width of an outline?

A. outline-size
B. outline-width
C. outline-height
D. both outline-size and outline-width
Answer» C. outline-height
3.

Select the output of the following CSS.

A. Box having dotted top outline, solid right outline, double bottom outline and dashed left outline
B. Box having dotted top outline, solid left outline, double bottom outline and dashed right outline
C. Box having dotted bottom outline, solid right outline, double top outline and dashed left outline
D. Box having dotted bottom outline, solid left outline, double top outline and dashed left outlineView Answer
Answer» B. Box having dotted top outline, solid left outline, double bottom outline and dashed right outline
4.

Choose the option that correctly specifies the output of the following CSS.

A. All span elements will have a red border and a green dotted outline
B. All span elements will have a green thick border and a red outline
C. All span elements will have an outer red border and inner green dotted border
D. All span elements will have a outer green dotted border and an inner red borderView Answer
Answer» E.
5.

Box_having_dotted_top_outline,_solid_right_outline,_double_bottom_outline_and_dashed_left_outline$

A. Box having dotted top outline, solid left outline, double bottom outline and dashed right outline
B. Box having dotted bottom outline, solid right outline, double top outline and dashed left outline
C. Box having dotted bottom outline, solid left outline, double top outline and dashed left outline
Answer» D.
6.

Which of the following values specifies a 3D grooved outline?

A. initial
B. ridge
C. groove
D. groove3d
Answer» B. ridge
7.

Which of the following property specifies the look and design of an outline?

A. outline-font
B. outline-style
C. outline-format
D. none of the mentioned
Answer» D. none of the mentioned
8.

Which of the following value specifies a dashed outline?

A. dash
B. dashed
C. double-dash
D. all of the mentioned
Answer» C. double-dash
9.

Identify the outline property that specifies the amount of area extended beyond the border box.

A. outset3d
B. inset
C. outset
D. inset3d
Answer» C. outset
10.

Which of the following property specifies the color of an outline?

A. color-outline
B. outline-color
C. outline-style-color
D. none of the mentioned
Answer» D. none of the mentioned
11.

All span elements will have a red border and a green dotted outline

A. All span elements will have a green thick border and a red outline
B. All span elements will have an outer red border and inner green dotted border
C. All span elements will have a outer green dotted border and an inner red border
Answer» C. All span elements will have a outer green dotted border and an inner red border
12.

Which of the following property is used to draw a line around elements outside the borders?

A. line
B. padding
C. outline
D. border
Answer» D. border