+ 1
What's the difference between id and class? Seriously i don't see a difference for some situation(s).
3 Answers
+ 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.
+ 1
oh thanks