0

What is the crucial diference betwin id and class when they both do the work for anything, have same efects?

when it's important to use one when another or is it a matter of taste.. looking forward to hear yours opionions :)

9th Dec 2016, 10:55 PM
Milica
1 ответ
+ 1
You should use "id" as a specific identifier for a single element in your document and "class" for a collection of elements of the same type
9th Dec 2016, 11:55 PM
Kerrash
Kerrash - avatar