You work as a developer at ABC.com. The ABC.com network consists of a single domain named
ABC.com. You make use of CSS3 and HTML5 for development purposes.
You are in the process of creating a new application, whose pages have styles configured from a
few consequential style sheets.
Which style sheet has the second highest priority?
A.
user important style sheets
B.
author important style sheets
C.
user agent style sheets
D.
user normal style sheets
E.
author normal style sheets
Explanation:
order from least to highest priority is:
user agent
user normal
author normal
author important
user important
so Author important is the second highest priority from specification
CSS attempts to create a balance of power between author and user style sheets. By default, rules in an author’s style sheet override those in a user’s style sheet
However, for balance, an “!important” declaration (the delimiter token “!” and keyword “important” follow the declaration) takes precedence over a normal declaration. Both author and user style sheets may contain “!important” declarations, and user “!important” rules override author “!important” rules. This CSS feature improves accessibility of documents by giving users with special requirements (large fonts, color combinations, etc.) control over presentation.
Agreed – the correct answer is B. Not D
http://css.kentucka.com/?cascading
http://reference.sitepoint.com/css/cascade
author important is correct.
user agent declarations
user normal declarations
author normal declarations
author important declarations
user important declarations
http://www.w3.org/TR/CSS2/cascade.html