Using pseudo-elements with CSS allows you to target specific parts of an HTML document. Pseudo-elements are different from pseudo-classes.

The Pseudo Elements

::after
::before
::first-letter
::first-line
::selection

The concept of pseudo-classes is not recognized by all browsers, especially older versions.