Are classes the same in all languages including HTML?

Are the classes in C++ the same as in CSS? Do they have the same function?

8/15/2019 1:50:02 PM

DAKIR ALLAH Abderrahman

4 Answers

New Answer


No. Neither HTML nor CSS are programming languages. Classes in CSS are just used to style multiple elements.


From cplusplus.com: Classes are an expanded concept of data structures: like data structures, they can contain data members, but they can also contain functions as members. An object is an instantiation of a class. 


Paul Grasser what are classes in C++?