Q: 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
Solution: Self-explainatory.
Q: ___________ 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
Solution: 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: 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
C. .
D. none
Solution: @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.
Q: Media type names are case-insensitive. State true or false.