Explore topic-wise MCQs in Computer Science.

This section includes 15 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 the border-width, border-style and border-color of an element’s top border in a single declaration?

A. border
B. border-top
C. border-top-corner
D. border-top-style
Answer» C. border-top-corner
2.

Which of the following specifies the distance between the borders of adjacent cells?

A. border-spacing-cell
B. border-width-spacing
C. border-spacing
D. cell-spacing
Answer» D. cell-spacing
3.

Which of the following CSS property border-color property sets the color of an element’s four borders?

A. border-background
B. border-background-color
C. border-color
D. all of the mentioned
Answer» D. all of the mentioned
4.

Select the CSS property that sets the width of an element’s bottom border?

A. border-width
B. border-bottom
C. border-width-down
D. border-bottom-width
Answer» E.
5.

Which of the following CSS property defines the different properties of all four sides of an element’s border in a single declaration?

A. border
B. padding
C. border-collapse
D. border-width
Answer» E.
6.

WHICH_OF_THE_FOLLOWING_SPECIFIES_THE_DISTANCE_BETWEEN_THE_BORDERS_OF_ADJACENT_CELLS??$

A. border-spacing-cell
B. border-width-spacing
C. border-spacing
D. cell-spacing
Answer» D. cell-spacing
7.

Which_of_the_following_property_defines_the_border-width,_border-style_and_border-color_of_an_element’s_top_border_in_a_single_declaration?$#

A. border
B. border-top
C. border-top-corner
D. border-top-style
Answer» C. border-top-corner
8.

Which of the following is not an appropriate value for border-collapse?

A. all
B. collapse
C. inherit
D. separate
Answer» B. collapse
9.

In how many way border-image-width CSS property can be defined?

A. 4
B. 6
C. 8
D. 9
Answer» E.
10.

Which CSS property can be used to set the image as border instead of the border style?

A. background-image
B. border-image
C. background-image-source
D. border-image-source
Answer» E.
11.

Choose the CSS property that can be used for collapsing the borders between table cells?

A. border
B. collapse-border
C. border-collapse
D. border-cell
Answer» D. border-cell
12.

Which of the following CSS property border-color property sets the color of an element’s four borders?$

A. border-background
B. border-background-color
C. border-color
D. all of the mentioned
Answer» D. all of the mentioned
13.

Select the CSS property that sets the width of an element’s bottom border?$

A. border-width
B. border-bottom
C. border-width-down
D. border-bottom-width
Answer» E.
14.

Identify the CSS property defining bottom-left corner shape of the border?

A. border-radius
B. border-corner-radius
C. border-bottom-left-radius
D. border-left-radius
Answer» D. border-left-radius
15.

Which of the following CSS property defines the different properties of all four sides of an element’s border in a single declaration?

A. border
B. padding
C. border-collapse
D. border-width
Answer» E.