Horje

How to Set the color of active links in a HTML Body (with CSS)

Follow the Example.

index.html
Example: HTML
<!DOCTYPE html>
<html>
<head>
<style>
a:active {
  color: #00FF00;
}
</style>
</head>
<body>

<p><a href="https://horje.com">Horje.com</a></p>
<p><a href="https://horje.com/html/">HTML Tutorial</a></p>

</body>
</html>

Output should be:

How to Set the color of active links in a HTML Body (with CSS)




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin