What hierarchy is being followed when in style sheets?

What hierarchy is being followed when in style sheets?

A style sheet generally decides what type of formatting should be applied at a particular section. There are three style sheets in CSS:

  1. Inline Styling
  2. Internal Styling
  3. External Styling

The highest priority is of Inline styling, followed by internal styling and then external styling. If all three are present, inline override internal styling and internal overrides external styling.

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.