back

Class

Class is used to select multiple elements.
The CSS styling will be used on any elements that have the same class.

In the HTML, the class=" " attribute is used in the tag to select.
And in the CSS a full stop ( . ) is placed before the class name.

Example