1.

What is the ‘class’ attribute in HTML?

Answer»

The class attribute is used to specify the class NAME for an HTML element. Multiple elements in HTML can have the same class value. Also, it is mainly used to ASSOCIATE the STYLES written in the STYLESHEET with the HTML elements.



Discussion

No Comment Found