0
Guys in HTML Whats the diffrence between an Id and class?
HTML
3 Respostas
+ 9
An ID is an identifier that can only be used once on a page, and all tags can only have 1 ID.
A class can be used as many times as you want. You can also set multiple classes to one tag, if you put all the classes in the same set of quotes.
0
An id is used for one specific tag but a class can be used multiple times in page
0
Thanks y'all