Header

CSS Syntax

CSS can be written in three main ways:

Inline CSS

Internal CSS

External CSS


CSS Priority System

CSS follows a priority system, known as "specificity," to determine which styles are applied when multiple styles conflict. Here's an example illustrating how priority and overwrite work:

Inline CSS (highest priority)

Internal CSS (medium priority)

External CSS (lowest priority)

Combining Inline, Internal and External CSS

Footer