CSS Multiple Choice Questions & Answers (MCQs) focuses on “Floating Elements for Layout”.
Q 1. Which of the following values are accepted by the float Property?
A. left
B. right
C. none
D. all of the mentioned
Show Answer
Answer:-D. all of the mentionedExplanation
Q 2. Which of the following property is used to control the behaviour of floating elements?
A. format
B. clean
C. clear
D. remove
Show Answer
Answer:-C. clearQ 3. The default value for the float property is right. State true or false.
A. True
B. False
Show Answer
Answer:-B. FalseExplanation
The default value for this property is none.Q 4. In what direction does float will work?
img { float: right; }
A. left
B. top
C. bottom
D. right
Show Answer
Answer:-D. rightQ 5. Which of the following property allows elements to be offset, rotated, scaled, and skewed in a variety of different ways?
A. transform-style
B. transform
C. transition
D. transform-origin
Show Answer
Answer:-B. transformExplanation
Q 6. Which of the following property is used to define how nested items are rendered in a 3-D space, the choice being either flattened or with their dimensions preserved?
A. transition-duration
B. transition-delay
C. transition
D. transform-style
Show Answer
Answer:-D. transform-styleExplanation
Syntax: transform-style: flatQ 7. Which of the following property is used to define the time it takes one iteration of an animation to play?
A. transition-property
B. transition -duration
C. transition-timing
D. user-select
Show Answer
Answer:-B. transition -durationExplanation
Syntax transition-duration: time [,time]* where time is a valid time value like 5s or 3500ms. The default value of time is 0, meaning no animation plays.Q 8. Which of the following property sets the distance between an element’s right border and the rightmost edge of its content?
A. auto
B. padding-left
C. padding-right
D. padding-top
Show Answer
Answer:-C. padding-rightExplanation
Syntax: padding-right: length | percentage | autoQ 9.Which of the following property defines the style of quotation marks to be used with embedded quotations?
A. article
B. para
C. quote
D. quotes
Show Answer
Answer:-D. quotesExplanation
Syntax: quotes: quote-pair1 … quote-pairN | noneQ 10. Which of the following property is used to control page breaks when printing a document after the bound element box ends?
A. page-inside
B. page-break-after
C. page-break-inside
D. page-break-before
Leave a Reply