Pseudo class


OUTPUT:

- Pseudo class is used to define special state or special effects to an element.
- we can style an element when a user mouse over it.
- we can style links differently like visited and unvisited links with different colors and backgrounds.
- Syntax: Pseudo {Property:value;}
EX:
Code
Code
OUTPUT: