Vidyalelo
CSS · Q46

CSS Text, Borders and Images

Programming · CSS · question 46

Q46

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
Answer

Answer: Option B

Solution

Answer: Option B
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.