A class selector is the XHTML element with a matching class attribute that is to be given style or layout properties. A class selector is defined in CSS by using the "." sign followed by the value of the class attribute (no space between the “.” and the name of the class). A class attribute value is not required to be unique; the same class name within an XHTML document may be used multiple times.
In the above example the elements with a class attribue value of test will be given style or layout properties.