1.

Which of the following are different origins of style sheets?(a) author(b) user(c) user agent(d) all of the mentionedI had been asked this question in exam.This intriguing question originated from Inheritance and Cascade topic in chapter CSS Properties, Elements, Functions & Tables of CSS

Answer»

Correct answer is (d) all of the mentioned

Easiest explanation: Author: The author specifies style sheets for a source document according to the conventions of the document language. For instance, in HTML, style sheets may be INCLUDED in the document or linked externally.

User: The user may be able to specify style information for a particular document. For EXAMPLE, the user may specify a file that contains a style sheet or the user agent may PROVIDE an interface that generates a user style sheet (or behaves as if it did).

User agent: Conforming user agents must APPLY a default style sheet. A user agent’s default style sheet should present the elements of the document language in ways that SATISFY general presentation expectations for the document language



Discussion

No Comment Found

Related InterviewSolutions