+ 1
What is difference between id and class ?
Rather than this Id(#) and Class(.) in css.
1 Answer
+ 1
Hi it has been answered many times ,search for similar questions before asking one:-)
Id is unique ,so every element has different id
Many elements can have same class name since classes aren't unique ,and that helps manipulating collectively just using a single class name,than styling each one of them with different id