Pseudo Class

A CSS pseudo-class is a keyword added to a selector that specifies a special state of the selected element(s).

:first-child pseudo-class

The :first-child pseudo-class matches when the element E is the first child of the parent element.

Syntax
E: first-child {...}
link pseudo class

A link has five states in CSS which have the below corresponding pseudo-classes.

Pseudo-classDescription
:linkfor links that have not yet been visited
:visitedfor links that have been visited
:hoverfor a link with the mouse pointer over it
:activefor a link when it is activated (when the mouse pointer is clicked on it)
:focusfor a link that has the focus (use key to activate it)
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +