1.

Which of the following rule allows users to import style rules from other style sheets?(a) @media(b) @important(c) @import(d) @styleThis question was addressed to me in an online quiz.Question is taken from Inheritance and Cascade topic in chapter CSS Properties, Elements, Functions & Tables of CSS

Answer»

Correct option is (c) @import

Explanation: The @import rule allows USERS to import style rules from other style sheets. If an @import rule refers to a valid STYLESHEET, USER agents MUST treat the contents of the stylesheet as if they were written in place of the @import rule.



Discussion

No Comment Found

Related InterviewSolutions