Pseudo Classes And Elements

The Pseudo-classes define dynamic states of an element.
We use them when we want to add special styles to an element.

The Pseudo-elements are used when you want to add special styles to specified parts of an element.