CSS Selectors
CSS selectors are used to "select" elements/tags on an HTML page to style them. The properties are set in a rule set, you know every rule set is combination of CSS selector and properties block. These properties only apply to the elements mentioned in rule set.
Types of CSS Selectors
Following are the types of CSSS Selectors:-
CSS selectors are used to "select" elements/tags on an HTML page to style them. The properties are set in a rule set, you know every rule set is combination of CSS selector and properties block. These properties only apply to the elements mentioned in rule set.
Types of CSS Selectors
Following are the types of CSSS Selectors:-
- Universal Selector
- Type Selector
- Class Selector
- ID Selector
- Attribute Selector