如何在实现在网页中,鼠标经过超连接时出现下划线效果

来源:百度知道 编辑:UC知道 时间:2024/05/16 12:51:07
最好是可以使整篇页面全部有这个鲜果

你在样式表里定义就好了

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body{font-size: 12px;}
a{text-decoration: none;}
a:hover{text-decoration: underline;}
-->
</style>
</head>
<body>
<a href="#">超文本链接</a>
</body>
</html>