CSS Quizs Question & Answers – Media Types

Q 1. The __________ rule makes it possible to define different style rules for different media types in the same stylesheet.
A. audio/video
B. sink
C. @media
D. @canvas

Show Answer Answer:-C. @media
Explanation Example:@media screen { p { font-family: verdana, sans-serif; font-size: 17px; } }

Q 2. What is the way to specify media dependencies for style sheets ?
A. Specify the target medium from a style sheet with the @media or @import at-rules
B. Specify the target medium within the document language
C. both Specify the target medium from a style sheet with the @media or @import at-rules and Specify the target medium within the document language
D. none of the mentioned

Show Answer Answer:-C. both Specify the target medium from a style sheet with the @media or @import at-rules and Specify the target medium within the document language

Q 3. ____________ types are mutually exclusive in the sense that a user agent can only support one media type when rendering a document.
A. tv
B. tty
C. media
D. audio

Show Answer Answer:-C. media
Explanation Media types are mutually exclusive in the sense that a user agent can only support one media type when rendering a document. However, user agents may use different media types on different canvases. For example, a document may (simultaneously) be shown in ‘screen’ mode on one canvas and ‘print’ mode on another canvas.

Q 4. If an @media/@import rule contains a malformed media type (not an identifier) then the statement is valid. State true or false.
A. True
B. False

Show Answer Answer:-A. True

Q 5. Media type names are case-insensitive. State true or false.
A. True
B. False

Show Answer Answer:-A. True

Q 6. What does aural media type is used for ?
A. For use with low-resolution teletypes, terminals, or other devices with limited display capabilities
B. For use with Braille printers
C. For use with speech synthesizers
D. For use with projected media (direct computer-to-projector presentations), or printing transparencies for projection

Show Answer Answer:-C. For use with speech synthesizers

Q 7. What does braille media type is used for?
A. For use with all devices
B. For use with speech synthesizers
C. For use with handheld devices
D. For use with tactile Braille devices

Show Answer Answer:-B. For use with speech synthesizers

Q 8. What does all media type is used for?
A. For use with all devices
B. For use with speech synthesizers
C. For use with handheld devices
D. For use with tactile Braille devices

Show Answer Answer:-A. For use with all devices

Q 9. What does projection media type is used for?
A. For use with projected media (direct computer-to-projector presentations), or printing transparencies for projection.
B. For use with color computer screens
C. For use with handheld devices
D. For use with television-type devices

Show Answer Answer:-A. For use with projected media (direct computer-to-projector presentations), or printing transparencies for projection.

Q 10. What does tty media type is used for ?
A. For use with low-resolution teletypes, terminals, or other devices with limited display capabilities.
B. For use with Braille printers.
C. For use with speech synthesizers.
D. For use with projected media (direct computer-to-projector presentations), or printing transparencies for projection.

Show Answer Answer:-A. For use with low-resolution teletypes, terminals, or other devices with limited display capabilities.

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