Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
a:active {
  background-color: yellow;
}
</style>
</head>
<body>
<h1>Demo of :active</h1>
<p>The :active pseudo-class styles the active link:</p>
<a href="https://www.w3schools.com">W3schools.com</a><br>
<a href="https://www.w3schools.com/html/">HTML</a><br>
<a href="https://www.w3schools.com/css/">CSS</a>
</body>
</html>