Which style sheet has the second highest priority?

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?

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:



Leave a Reply 4

Your email address will not be published. Required fields are marked *


karen anderson

karen anderson

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.

prashant

prashant

author important is correct.