Multiple choice technology web technology

If an element is affected by external style sheet, internal style sheet and inner style, which style takes precedence?

  1. External Style Sheet

  2. Inner Style

  3. Internal Style Sheet

  4. Depends on case to case basis

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In CSS cascade precedence, inline styles (referred to here as 'Inner Style') override internal style sheets (defined in `blocks), which in turn override external style sheets (linked.css` files), assuming equal specificity. Thus, inner styles take highest precedence.