PrepAway - Latest Free Exam Questions & Answers

which order will the five style sheets be applied?

DRAG DROP
You are creating an application by using HTML5 and CSS3. The styles for the pages are derived from
five style sheets.
The styles are not being applied correctly to the pages in the application.
You need to determine the order in which the style sheets will be applied by the browser.
In which order will the five style sheets be applied? (To answer, move the style sheet types from the
list of style sheet types to the answer area and arrange them in the order that they will be applied.)

PrepAway - Latest Free Exam Questions & Answers

Answer: See the explanation.

Explanation:

Box 1: user agent style sheets
Box 2: user normal style sheets
Box 3 author normal style sheets:
Box 4: author important style sheets
Box 5: user important style sheets

Note:
The order of declarations from least important to most important:
1. user agent declarations
2. user normal declarations
3. author normal declarations
4. author important declarations
5. user important declarations

9 Comments on “which order will the five style sheets be applied?

  1. Terminator says:

    CSS declarations are applied in this order (from lowest to highest priority):

    user agent declarations (the default styles your browser applies to elements)
    user normal declarations (a user’s own stylesheet if they’re using one)
    author normal declarations (this is your normal stylesheet)
    author important declarations (anything your mark important)
    user important declarations (any important styles from the user’s stylesheet)




    4



    0
  2. nand says:

    I think this is wight

    Box 1: user normal style sheets
    Box 2: author normal style sheets
    Box 3:author important style sheets
    Box 4: user important style sheets
    Box 5: user agent style sheets




    0



    0

Leave a Reply