An element of the pseudo-class is used to define a particular element.
Styling an element when a user mouses over it or when it gets focus.
Example of this Code :
<!DOCTYPE html>
<html>
<head>
<title> </title>
<style>
html:active
{
background: red;
}
</style>
</head>
<body>
Click anywhere in the screen
</body>
</html>