I thought CSS Tricks did a great job explaining the Difference between ID and Class. I highly recommend checking it out.
The basics that struck me in this article were Class is like a barcode. Every item in a store has a bar code. They usually describe the product, where it was placed in the store, what color or style it is along with the price. This is something that several product could have the same barcode if they are all the same product- ipods for example.
They mentioned though that ID is more like a serial number each ipod has it’s own unique serial number for product registration.
The point here is that Class is like a barcode that can be used on multiple areas within the page for multiple elements. The ID on the other hand is more like the serial number in that it is only used once to identify one element.
Please share you thoughts on this article or the topic of Class vs. ID. Thanks!
Where to see if they are working well from CSS?
I will test all CSS tricks out for new things like this.
It is the CSS that change the world of the Web. It is due to the CSS with which we get Responsive websites.
Ref – Responsive web design Delhi
With Wings you cant not fly and without CSS You cant design your Website .
Ref: Mobile app developers Team in India.