Pseudoclasses

A strange name for a useful concept. The most common pseudoclass makes HTML links change appearance when the mouse hovers over them:

a:hover {
    color:red;                
}
        

Place that in a new or existing page's HEAD section as an embedded style. In the BODY create a link (or two). Hover the mouse over it.

Originally, pseudo-classes were supposed to be for links but they may work for other elements. They are always structured with the type selector first and then a colon and then one pseudoclass from this list:

submit to reddit Delicious Tweet