WEB骇客
  <a href="#" id="a">一个好汉三个帮</a>

<p>(请用火狐浏览器观看这个演示,目前只有火狐浏览器实现了对它的支持)</p>
body {
  padding: 30px;
  text-align: center;
  font-family: Arial, sans-serif;
}

a, a:visited {
  color: blue;
  background: aqua;
  -moz-text-decoration-color: red;
  -moz-text-decoration-line: overline;
  -moz-text-decoration-style: wavy;
-ms-text-decoration-color: red;
  -ms-text-decoration-line: overline;
  -ms-text-decoration-style: wavy;
-webkit-text-decoration-color: red;
  -webkit-text-decoration-line: overline;
  -webkit-text-decoration-style: wavy;
  text-decoration-color: red;
  text-decoration-line: overline;
  text-decoration-style: wavy;
}
document.getElementById('a').onclick = function (e) {
  e.preventDefault();
};
返回