Respuesta :

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---

  • elem.class (where 'elem' is the name of the tag ('img' tag in the above example) and class is the name of the defined class(which is same on the bothe 'img' tag)).
  • The Question asked about the attribute selector of class in CSS and the answer is elem.class, which is defined above.