1.

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) FalseI have been asked this question during an interview.The doubt is from Media Types topic in division CSS Text, Borders and Images of CSS

Answer»

The CORRECT answer is (b) False

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.



Discussion

No Comment Found

Related InterviewSolutions