HTML Class
The class attribute in HTML is utilized to assign one or more classes to HTML elements. Apply the same class to several elements so you can easily apply homogenous styles across a web page. By defining styles in CSS for a particular class, all elements that have that class can inherit the same styling.