Home / Programming Questions / CSS MCQs / Page 6

CSS MCQs with answers Page - 6

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

R

Ram Sharma • 178.09K Points
Coach

Q. The CSS property used to specify whether the text is written in the horizontal or vertical direction?

(A) writing-mode
(B) text-indent
(C) word-break
(D) None of the above

R

Ram Sharma • 178.09K Points
Coach

Q. Which of the following syntax is correct in CSS to make each word of a sentence start with a capital letter?

(A) text-style : capital;
(B) transform : capitalize;
(C) text-transform : capital;
(D) text-transform : capitalize;

R

Ram Sharma • 178.09K Points
Coach

Q. How to select the elements with the class name "example"?

(A) example
(B) #example
(C) .example
(D) Class example

R

Ram Sharma • 178.09K Points
Coach

Q. Which of the following is the correct syntax to select all paragraph elements in a div element?

(A) div p
(B) p
(C) div#p
(D) div ~ p

R

Ram Sharma • 178.09K Points
Coach

Q. Which of the following is the correct syntax to select the p siblings of a div element?

(A) p
(B) div + p
(C) div p
(D) div ~ p

R

Ram Sharma • 178.09K Points
Coach

Q. The CSS property used to draw a line around the elements outside the border?

(A) border
(B) outline
(C) padding
(D) line

R

Ram Sharma • 178.09K Points
Coach

Q. Which of the following CSS property is used to add shadows to the text?

(A) text-shadow
(B) text-stroke
(C) text-overflow
(D) text-decoration

R

Ram Sharma • 178.09K Points
Coach

Q. Which of the following is not a value of the font-variant property in CSS?

(A) normal
(B) small-caps
(C) large-caps
(D) inherit

Login

Forgot username? click here

Forgot password? Click here

Don't have account? Register here.