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


make money online
Guest referral


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,507
Joined: May 2013
Reputation: 109

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,057
Joined: May 2013
Reputation: 34

Posting Freak
Simply use CSS class which is more adverse.
damponting44 Offline referral

Posts: 536
Joined: Oct 2016
Reputation: 0

Senior Member
In the CSS, a class selector is a name went before by a full stop (".") and an ID selector is a name went before by a hash character ("#"). The distinction between an ID and a class is that an ID can be utilized to recognize one component, while a class can be utilized to distinguish more than one.

Google this topic

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