Which of the following Cascading order has the highest precedence?

user agent declarations
user normal declarations
author normal declarations
author important declarations

The correct answer is D. author important declarations.

The cascading order of CSS declarations is as follows:

  1. Author important declarations
  2. Author normal declarations
  3. User agent normal declarations
  4. User agent important declarations

Author important declarations have the highest precedence, followed by author normal declarations, user agent normal declarations, and user agent important declarations.

Author important declarations are those that are preceded by the !important keyword. This keyword tells the browser to ignore any other declarations that conflict with it, regardless of their order in the stylesheet.

Author normal declarations are those that are not preceded by the !important keyword. These declarations are overridden by user agent normal declarations, but they override user agent important declarations.

User agent normal declarations are those that are defined by the browser. These declarations are overridden by author normal declarations and author important declarations.

User agent important declarations are those that are defined by the browser and preceded by the !important keyword. These declarations override all other declarations, regardless of their order in the stylesheet.