The class selector selects elements with a specific class attribute. To select elements with a specific class, write a period character, followed by the name of the class:
Teal-colored and center-aligned paragraph.
In this example, all HTML elements with class="center" will be colored teal and center-aligned.