Document Structure and CSS Inheritance

Question 1
Marks : +2 | -2
Pass Ratio : 100%
The __________ 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.
author
user
user-agent
none of the mentioned
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.
Question 2
Marks : +2 | -2
Pass Ratio : 100%
If a particular rule should never be overridden by another rule, the ____________ indication should be used.
Explanation:
If a particular rule should never be overridden by another rule, the !important indication should be used. For a rule never to be ignored, insert the indication !important just before the semicolon of the rule.
Question 3
Marks : +2 | -2
Pass Ratio : 100%
Which of the following option a declaration consist of?
Tag
Property
Selector
Class
Explanation:
A declaration has two parts separated by a colon:
Question 4
Marks : +2 | -2
Pass Ratio : 100%
As a general rule, properties in CSS inherit from ___________ elements
child to parent
parent to child
grandparents to parents
none of the mentioned
Explanation:
Self-explainatory.
Question 5
Marks : +2 | -2
Pass Ratio : 100%
The ______________ is the link between the HTML document and the style. It specifies what elements are affected by the declaration.
Tag
Selector
Declaration
Class
Explanation:
The selector is the link between the HTML document and the style. It specifies what elements are affected by the declaration. The declaration is that part of the rule that sets forth what the effect will be.
Question 6
Marks : +2 | -2
Pass Ratio : 100%
The ___________________ property specifies whether or not an element should be resizable by the user.
Outline Offset
Resize
Unit
None of the mentioned
Explanation:
Self-explainatory.
Question 7
Marks : +2 | -2
Pass Ratio : 100%
The __________ 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.
author
user
user-agent
none of the mentioned
Explanation:
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) .
Question 8
Marks : +2 | -2
Pass Ratio : 100%
Which of the following option a rule consists of?
Tag
Selector
Declaration
Both Selector and Declaration
Explanation:
Self-explainatory.
Question 9
Marks : +2 | -2
Pass Ratio : 100%
CSS3 ___________ let you display smooth transitions between two or more specified colors
Float
Align
Gradients
Color
Explanation:
Earlier, you had to use images for these effects. However, by using CSS3 gradients you can reduce download time and bandwidth usage. In addition, elements with gradients look better when zoomed, because the gradient is generated by the browser.
Question 10
Marks : +2 | -2
Pass Ratio : 100%
How a style sheet can be glued to the HTML document?
Import a style sheet using the CSS @import notation.
Apply the basic, document-wide style sheet for the document by using the style element
Link an external style sheet to the document using the link elemen
All of the mentioned
Explanation:
Self-explainatory.