CSS Quizs Question & Answers – Targeting Styles with Media Queries

Q1. Which of the following Media Query describe the ratio of the device width to the device height of the media?
A. device-aspect
B. device-aspect-query
C. device-aspect-ratio
D. none of the mentioned

Show Answer Answer:-B. device-aspect-query

Q 2. Which of the following Media Query determines if output is grid, like a simple terminal or phone, or bitmap, like a standard monitor or printer?
A. grid
B. monochrome
C. resolution
D. device-height

Show Answer Answer:-A. grid

Q 3. Which of the following Media Query describes the scanning method of a TV?
A. orientation
B. scan
C. resolution
D. none of the mentioned

Show Answer Answer:-B. scan

Q 4. Which of the following Media Query determines if output is monochrome and how many bits are used for gray display?
A. gray
B. chrome
C. monochrome
D. none of the mentioned

Show Answer Answer:-C. monochrome

Q 5. A media query consists of a media type and zero or more expressions that check for the conditions of particular media features. State true or false.
A. True
B. False

Show Answer Answer:-A. True

Q 6. Which of the following @viewport Property sets the viewport height in the same way as width?
A. height
B. width
C. viewpor-width
D. none of the mentioned

Show Answer Answer:-A. height

Q 7. Which of the following @viewport Property locks the document in the specified orientation, portrait or landscape?
A. landscape
B. resolution
C. orientation
D. portrait

Show Answer Answer:-C. orientation

Q 8. Which of the following media feature describes the number of entries in the color lookup table of the output device
A. color
B. color-index
C. color-value
D. color-@media

Show Answer Answer:-B. color-index
Explanation The ‘color-index’ media feature describes the number of entries in the color lookup table of the output device. If the device does not use a color lookup table, the value is zero

Q 9. Which of the following Viewport Property sets the initial scaling factor?
A. scale
B.user-scale
C. minimum-scale
D. initial-scale

Show Answer Answer:-D. initial-scale

Q 10. Which of the following Viewport Property determines whether the display can be zoomed in
and out?
A. scale
B. set-scale
C. adjust-scale
D. user-scalable

Show Answer Answer:-D. user-scalable

Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You cannot copy content of this page