The class attribute makes it possible to define equal styles for elements with the same class name.
<p>HTML stands for Hypertext Markup Language</p>
The class attribute is fully supported by all browsers:
The following table describes the values of class attribute:
|classname||The class name is the value of the class attribute. Class name is user-defined, that means you can choose any value for class name.|
HTML elements can also refer to more than one class.
<p class="big center">This paragraph refers to two classes</p>
<p class="big center blue">This paragraph refers to three classes</p>