When and why use the class attribute?