页面用几种超级链接样式

<script language="javascript" type="text/javascript"> //运行代码 function runEx(cod1) { cod=document.getElementById(cod1) var code=cod.value; if (code!=""){ var newwin=window.open('','',''); newwin.opener = null newwin.document.write(code); newwin.document.close(); } } </script>



/*****8把下列代码拷进上述文本框中,单击【运行代码】按钮,将显示彩色超链接效果
<html>
<head>
<title>页面链接</title>
<style type="text/css">
a:link {text-decoration: none;color: #FFFFFF;}
a:visited {text-decoration: none;color: #FFFFFF;}
a:hover {color: #000000;text-decoration: underline;}
a.a1:link {text-decoration: none;color: #FFFF00;}
a.a1:visited {text-decoration: none;color: #FFFF00;}
a.a1:hover {color: #0000FF;text-decoration: underline;}
a.a2:link {text-decoration: none;color: #0000FF;}
a.a2:visited {text-decoration: none;color: #0000FF;}
a.a2:hover {color: red;text-decoration: underline;}
.style1 {color: #00FF00}
</style>

</head>
<body bgcolor="#CCCCCC">
<a href="http://blog.csdn.net/luqin/" _fcksavedurl="http://blog.csdn.net/luqin/">05计算机信息班</a> <br><br>
<a href="http://blog.csdn.net/luqin/" _fcksavedurl="http://blog.csdn.net/luqin/" class="a1">菜单a1</a><br><br>
<a href="http://blog.csdn.net/luqin/" _fcksavedurl="http://blog.csdn.net/luqin/" class="a2">菜单a2</a>
<a href="http://www.bioon.com/time.htm " _fcksavedurl="http://www.bioon.com/time.htm " class="a2"><br>
<br>
<span class="style1">05计算机应用班</span></a>
</body>
</html>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值