Universal Selectors

There are multiple ways of selecting elements from an HTML page. This allows developers to use general selectors when a rule should apply to many elements, and specific selectors when a rule should only apply to a few or one element.

The universal selector is used to style every element on a page. The universal selector is the star (*). The star is often used in computer science to mean “all.”