What is CSS selector?
- Basically it is a string that identifies the elements to which a particular declaration or set of declarations will apply.
- It can also be referred to as a link between the HTML document and the style sheet.
- It is equivalent of HTML elements.
For example :
A {text-indent: 12pt}
Here, the selector is A, which is called as type selector.
Tags
CSS