Horje

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

Follow the Example.

index.html
Example: HTML
<!DOCTYPE html>
<html>
<head>
<style>
a:link {
  color: #0000FF;
}
</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 unvisited links in a HTML Body (with CSS)




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