Css miscellaneous
- Which of the following property defines in a shorthand form the width, style, and color for the bottom border of an element?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
Syntax: border-bottom: border-width border-style border-color;
- Media type names are case-insensitive. State true or false.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
True
- If an @media/@import rule contains a malformed media type (not an identifier) then the statement is valid. State true or false.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
@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.
- ____________ types are mutually exclusive in the sense that a user agent can only support one media type when rendering a document.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
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.
- What is the way to specify media dependencies for style sheets ?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
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