CSS (Cascade Style Sheets)
is used commonly by web designers to tell the web browsers to display their
web pages in interesting ways by applying CSS rules to specific HTML tags.
To learn HTML tags you can visit our HTML tutorial.
CSS has three types of rules:
1. HTML selector: This rule
is applied to the HTML tags to tell them how to display the content in
the tags. For example, p is the selector of <p> tag.
2. ID selector:
This rule is usually applied once on the page to a particular HTML tag
3. Class selector:
This rule can be applied to any HTML tags.