css active

CSS active is a selector when I place it on top of a link, it is called CSS active link. Suppose you are google.com here google is an active link. To write CSS active I am controlled with an active selector.

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
</head>
<body>
  <a href="">Click Now</a>
</body>
</html>
a:active  {     background-color: yellow;  }

1 thought on “css active”

Leave a Comment