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 specifies the placement of an element in relation to floating objects?

A. clear
B. color
C. space
D. none of the mentioned
Answer» B. color
2.

Which of the following property sets the width of an element’s complete border?

A. border-width
B. width
C. border-depth
D. none of the mentioned
Answer» B. width
3.

Which of the following property defines the color of an element’s top border?

A. border-color
B. border-top
C. border-top-color-webkit
D. border-top-color
Answer» E.
4.

Which of the following property defines the style for the right border of an element?

A. border-spacing
B. border-spacing
C. border-right
D. border-right-style
Answer» D. border-right-style
5.

Which of the following property defines whether table cell borders are connected or separate?

A. border-table
B. border
C. border-collapse
D. none of the mentioned
Answer» D. none of the mentioned
6.

Which of the following property sets the width of an element’s bottom border?

A. border
B. border-collapse
C. border-bottom-width
D. none of the mentioned
Answer» D. none of the mentioned
7.

WHICH_OF_THE_FOLLOWING_PROPERTY_SPECIFIES_THE_PLACEMENT_OF_AN_ELEMENT_IN_RELATION_TO_FLOATING_OBJECTS??$

A. clear
B. color
C. space
D. none of the mentioned
Answer» B. color
8.

Which of the following property defines the y (vertical) coordinate for a positioned element, relative to the bottom of the enclosing object or browser window?

A. border
B. bottom
C. position
D. none of the mentioned
Answer» C. position
9.

Which of the following defines in a shorthand form the width, style, and color for the top border of an element?

A. border-up
B. border-bottom
C. border-style
D. none of the mentioned
Answer» E.
10.

Which of the following property defines the color of an element’s top border?$

A. border-color
B. border-top
C. border-top-color-webkit
D. border-top-color
Answer» E.
11.

Which of the following property sets the width of an element’s bottom border?$

A. border
B. border-collapse
C. border-bottom-width
D. none of the mentioned
Answer» D. none of the mentioned
12.

Which of the following property defines in a shorthand form the width, style, and color for the bottom border of an element?

A. border-bottom
B. border-bottom-color
C. border-bottom-all
D. none of the mentioned
Answer» B. border-bottom-color