Answer:
elem.class is the correct answer for the above question.
Explanation:
In CSS(cascading style sheet), When a user wants to use any property for any attribute and if there are multiple attributes on which he wants to apply the same property then he needs to use the attribute selector based on class.
Just, for example, suppose there is a two image in an HTML document and both need to fill the green color then the user needs to give the same class to both div and use that class property in a CSS to define the green color which can be applied on the image.To use the class property in a CSS, a user needs to define like---