Help make Alexa smarter on Alexa Answers. Sign in with Amazon

Miscellaneous

What is the purpose of class attribute?

1 Answer

The class attribute is mostly used to point to a class in a style sheet. However, it can also be used by a JavaScript (via the HTML DOM) to make changes to HTML elements with a specified class.

{{ relativeTimeResolver(1666979862673) }}

LIVE
Points points 2
Rating

Similar Questions
Miscellaneous 4 Answers
Miscellaneous 1 Answer
Miscellaneous 1 Answer
Miscellaneous 1 Answer
Miscellaneous 1 Answer
Join Alexa Answers

Help make Alexa smarter and share your knowledge with the world

LEARN MORE
Miscellaneous 1 Answer
Miscellaneous 1 Answer

Join Alexa Answers

Help make Alexa smarter and share your knowledge with the world

LEARN MORE