Home / Programming Questions / CSS MCQs / Page 7

CSS MCQs with answers Page - 7

Dear candidates you will find MCQ questions of CSS here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question

Q. Which of the following CSS property is used to specify whether the table cells share the common or separate border?

(A) border-collapse
(B) border-radius
(C) border-spacing
(D) None of the above

Q. The CSS property used to make the rounded borders, or rounded corners around an element is

(A) border-collapse
(B) border-radius
(C) border-spacing
(D) None of the above

Q. The CSS property used to set the distance between the borders of the adjacent cells in the table is -

(A) border-collapse
(B) border-radius
(C) border-spacing
(D) None of the above

Q. Which of the following selector in CSS is used to select the elements that do not match the selectors?

(A) :! selector
(B) :not selector
(C) :empty selector
(D) None of the above

Q. Which of the following is not a type of combinator?

(A) >
(B) ~
(C) +
(D) *

Q. Which of the following CSS property defines how an image or video fits into container with established height and width?

(A) object-fit
(B) object-position
(C) position
(D) None of the above

Q. Which type of CSS is used in the below code?

Code:
<p style = "border:2px solid red;">  
(A) Inline CSS
(B) Internal CSS
(C) External CSS
(D) None of the above

Q. Which of the following CSS property specifies the origin of the background-image?

(A) background-origin
(B) background-attachment
(C) background-size
(D) None of the above

Login

Forgot username? click here

Forgot password? Click here

Don't have account? Register here.