Edit This Code:
<!DOCTYPE html>
<html>
<head>
<style>
a:link, a:visited {
    background-color: #f44336;
    color: white;
    padding: 14px 25px;
    text-align: center;        
    text-decoration: none;
    display: inline-block;
}



a:hover, a:active {
    background-color: red;
}

</style>
</head>
<body>

<a href="default.asp.html" target="_blank">This is a link</a>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy