+ 1

I still don't get the concept of class and ID 😔😔

27th Apr 2020, 3:27 PM
Jerry Daniel
Jerry Daniel - avatar
3 ответов
0
Understand it like class of students. All students of same class are instructed to do one same work. Then each Student also has a roll number. So one individual can also be called by a roll number & asked to do anything.
27th Apr 2020, 4:49 PM
Rohit Wadhwa
+ 2
Mention the language name in tag ,what exactly you don't understand about class and id? Id is unique and there can be elements with same class ,helps in manipulating them collectively
27th Apr 2020, 3:28 PM
Abhay
Abhay - avatar
+ 1
Class and id is used for selecting elements of html in css. Multiple elements can have same class But multiple elements must have their unique ID.
27th Apr 2020, 3:47 PM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar