A. px B. em C. rem D. ptp AnswerOption: D
Read More »HTML
|
What is the purpose of the flex-grow property in a flexbox layout?
A. To set the initial size of a flex item B. To allow a flex item to grow to fill the available space C. To set the spacing between flex items D. To control the direction of the flex items AnswerOption: B
Read More »Which CSS property is used to specify the transparency of an element?
A. opacity B. visibility C. transparency D. filter AnswerOption: A
Read More »How do you apply a CSS style to multiple classes in a single rule?
A. .class1, .class2 {} B. .class1 .class2 {} C. .class1.class2 {} D. class1, class2 {} AnswerOption: A
Read More »Which of the following CSS properties is used to create space between the element’s border and its content?
A. margin B. padding C. border-spacing D. outline AnswerOption: B
Read More »What does the CSS box-sizing property do?
A. Determines the size of the content box only B. Includes padding and border in the element’s total width and height C. Changes the display type of an element D. Applies a shadow to the box AnswerOption: B
Read More »Which of the following pseudo-classes selects the first child of an element’s parent?
A. :first-child B. :last-child C. :nth-child(1) D. :only-child AnswerOption: A
Read More »Which CSS property is used to control the text size of an element?
A. font-style B. font-size C. text-size D. text-style AnswerOption: B
Read More »What is the default value of the position property in CSS?
A. static B. relative C. absolute D. fixed AnswerOption: A
Read More »Which property is used to change the background color of an element in CSS?
A. background-color B. color C. bg-color D. background-style AnswerOption: A
Read More »Which of the following is the correct way to apply a class selector in CSS?
A. #className {} B. .className {} C. className {} D. *className {} AnswerOption: B
Read More »What does CSS stand for?
A. Cascading Style Sheets B. Creative Style Sheets C. Computer Style Sheets D. Colorful Style Sheets AnswerOption: A
Read More »Symbol used at the beginning of the HREF text is
A. # B. $ C. & D. ^ AnswerOption: A
Read More »What i s the correct HTML for adding a background color?
A. yellow B. C. D. AnswerOption: C
Read More »What are Empty elements and is it valid?
A. No, it is not valid to use Empty Element B. No, there is no such terms as Empty Element C. Empty elements are element with no data D. None of these
Read More »
MCQs | eBooks – Textbook Solutions All types eBook are available
