+ 1

What's the difference between id and class? Seriously i don't see a difference for some situation(s).

15th Oct 2017, 11:34 PM
Zaddouk Hicham
Zaddouk Hicham - avatar
3 Respostas
+ 9
IDs are unique and you can only set the same id to one tag. On the other hand you can add the same class to multiple tags.
16th Oct 2017, 12:26 AM
LynTon
LynTon - avatar
+ 1
oh thanks
16th Oct 2017, 6:49 AM
Zaddouk Hicham
Zaddouk Hicham - avatar