|
The universal selector is represented by an asterisk (*). It matches the name of any tag (like a wildcard). For example: * {font-face: Arial;} This makes every tag use Arial. You can also combine the universal selector with adjacent or child selectors. For example: h1 + * {color: blue;} This example means that any tag that immediately follows an <h1> tag is in blue. Other tags are as normal. |
More information Use the class attribute as a selector Use the id attribute as a selector Universal selectors Matching attributes and selectors Pseudo classes and elements as selectors |