<style type="text/css"> li { list-style: none;}//控制li的·标记 a { text-decoration: none;} //下划线 a:hover { text-decoration: underline; } </style>
javascript:show();控制链接触发js
<div>div1</div> <div>div2</div> <ul> <li>1</li> <li>2</li> <li>3</li> </ul> <a href="#">122</a> <br> <script type="text/javascript"> function show(){ alert(new Date());//弹出现在的时间 } </script> <!-- href="javascript:"用于连接控制js --> <a href="javascript:show();">控制show()</a>