View Full Version : Differences between Class and ID?
04-13-2006, 09:12 PM
What is the difference in using the class and ID attribute?, besides the following:
ID overrules Class
And class can be used on as many elements and ID only on one element.
04-13-2006, 09:17 PM
That spells it out pretty darn clearly! What makes you think there's more to it than that? :)
04-13-2006, 10:13 PM
I too have wondered about this and its not easy finding something more than what you had in your post. Here's a link to a more spelled out definition.
04-13-2006, 11:32 PM
An id identifies a specific object.
A class identifies a group of objects that have something in common.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.