Excuse my ignorance but I’m confused as when to use the ID and the Class <div> identifier, and I would like to know when it’s appropriate to use either one of these methods and when it is not.
Can someone please be so kind and explain this a little bit?
An #id is something that will only be used once on a page. Examples:
You use a class when something could appear more than once, like a photo gallery. Examples:
Got it thank you very much!
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed