Class attribute

The  attribute is an attribute that is mostly used to point to a class in a style sheet. However, it can also be used by a JavaScript (via the HTML DOM) to make changes to HTML elements with a specified class. In HTML5, any element can use the  attribute.