Get your own website Result Size: 625 x 534
x
 
<!DOCTYPE html>
<html>
<head>
<style>
a:link, a:visited {
  background-color: #f44336;
  color: white;
  padding: 15px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
a:hover, a:active {
  background-color: red;
}
</style>
</head>
<body>
<h2>Link Button</h2>
<p>A link styled as a button:</p>
<a href="default.html" target="_blank">This is a link</a>
</body>
<!-- Mirrored from www.w3schools.com/html/tryit.asp?filename=tryhtml_links_button by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 05 Sep 2022 14:26:47 GMT -->
</html>