This set of CSS Multiple Choice Questions & Answers (MCQs) focuses on “Media Types”.
1. 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
View Answer
Explanation: None.
2. 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
View Answer
Explanation: None.
3. 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.
View Answer
Explanation: None.
4. 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
View Answer
Explanation: None.
5. 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
View Answer
Explanation: None.
6. 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
View Answer
Explanation:
Example:
@media screen { p { font-family: verdana, sans-serif; font-size: 17px; } }
7. 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
View Answer
Explanation: Self-explainatory.
8. ____________ 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
View Answer
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.
9. 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
View Answer
Explanation: @media and @import rules with unknown media types (that are nonetheless valid identifiers) are treated as if the unknown media types are not present. If an @media/@import rule contains a malformed media type (not an identifier) then the statement is invalid.
10. Media type names are case-insensitive. State true or false.
a) True
b) False
View Answer
Explanation: self explanatory.
Sanfoundry Global Education & Learning Series – CSS.
To practice all areas of CSS, here is complete set of 1000+ Multiple Choice Questions and Answers.
- Practice Computer Science MCQs
- Practice MCA MCQs
- Practice Information Science MCQs
- Apply for Computer Science Internship
- Check CSS Books