Why might you want to add a class to an HTML element in web development?
To define HTML elements
To change the overall document structure
To apply styles to a specific subset of elements
To create animations