Different kinds of specificity are:
- Generic: The word or phrase applies to all elements on the page;
- Class Specific: The word or phrase applies only to one class;
- ID Specific: The word or phrase applies only to one element with an ID;
- Attribute Specific: The word or phrase applies only to one attribute on an element.
Share a personalized message with your friends.