Are classes the same in all languages including HTML? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

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?

15th Aug 2019, 1:50 PM
DAKIR ALLAH Abderrahman
DAKIR ALLAH Abderrahman - avatar
4 Answers
+ 1
No. Neither HTML nor CSS are programming languages. Classes in CSS are just used to style multiple elements.
15th Aug 2019, 2:42 PM
Paul Grasser
Paul Grasser - avatar
+ 1
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. 
15th Aug 2019, 9:56 PM
Paul Grasser
Paul Grasser - avatar
0
Paul Grasser what are classes in C++?
15th Aug 2019, 7:57 PM
DAKIR ALLAH Abderrahman
DAKIR ALLAH Abderrahman - avatar
0
Thanks
15th Aug 2019, 11:02 PM
DAKIR ALLAH Abderrahman
DAKIR ALLAH Abderrahman - avatar