<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>