+ 1

What is the different between class attribute and I'd attribute

7th Oct 2019, 10:47 AM
Anistar
Anistar - avatar
2 odpowiedzi
0
I'd is unique But class is not unique Two elements can have the same class but not the same id
7th Oct 2019, 11:04 AM
estifanos
estifanos - avatar
0
Class is a category for an object, while an ID is a distinct identifier
7th Oct 2019, 11:09 AM
Loeschzwerg