Frequently Asked Questions

Dark html page with link colors

Here is the code for a super simple page with links and background colors added for you to easily change.

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>DEMO</title>
<style>
a:link {
color: green;
background-color: transparent;
text-decoration: none;
}

a:visited {
color: pink;
background-color: transparent;
text-decoration: none;
}

a:hover {
color: red;
background-color: transparent;
text-decoration: underline;
}

a:active {
color: yellow;
background-color: transparent;
text-decoration: underline;
}
</style>
</head>

<body style="background-color: #1D1E22; color: #ccc;">
<p>&nbsp;</p>
<p>&nbsp;</p>
<div style ="text-align:center;">
<h1>We've moved this page to: <a href="https://webhostpro.com/"><strong>Web Host Pro</strong></a></h1>
</div>


</body>
</html>

  • template, dark, background color, css, html, link color, simple, basic, new web page

Was this answer helpful?

134 Users Found This Useful