<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>