Universal selector

Sometimes it is necessary to determine one style for all elements of the web page (type face, for example). In this case universal selector will help You, it fits any element of the web page.

{ Description of the style rules }

Universal selector is not necessary in some cases, for example *.class and .class are identical in result.
Example 13.1. The use of universal selector.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
  <title>Universal selector</title>
  <style type="text/css">
   * {
    font-family: Aral, Verdana, sans-serif; /* sans-serif type */
    font-size: 96%; /* Text size */
   }
  </style>
 </head>
 <body>
  <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem 
  nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat.</p>
 </body>
</html>

So, similar result can be in case we change selector * with BODY.
This type of selectors is used in structure languages, like XML, to indicate name of elements, which are unknown in styles.