What is the purpose of the class attribute?
class
Classes allow CSS to select specific elements on the page. You may list as many class names within the class attribute as you wish, separated by spaces.
Classes allow CSS and JavaScript to select specific elements on the page. You may list only one class name per class attribute.
Classes allow CSS to select specific elements on the page. You may list only one class name per class attribute.
Classes allow CSS and JavaScript to select specific elements on the page. You may list as many class names within the class attribute as you wish, separated by spaces.