Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

Thread: 

CSS ID vs CLASS?

Ads
Guest referral

 

#1
Unregistered
Which is better to use when designing a website ID or CLASS? Maybe I am missing something here. What is the difference between them advantages and disadvantages?
marcus_avrelius Offline referral

Posts: 2,424
Joined: May 2013
Reputation: 102

#2
Support Team
Class is not unique and the same class on multiple elements or multiple classes on the same element.

ID is unique, each element can only have one ID and each page can only have one element with that ID.
maya Offline referral

Posts: 1,058
Joined: May 2013
Reputation: 34

#3
Posting Freak
Simply use CSS class which is more adverse.





User(s) browsing this thread: 1 Guest(s)