代码示例:(标识:css_link_advanced_1)
<!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>

<h1>链接按钮</h1>
<p>把链接样式设置为按钮:</p>
<a href="/index.php" target="_blank">这是一个链接</a>

</body>
</html>
运行结果: