1.使用css屬性outline:0;
例:
<style type="text/css">
a:focus{outline:0;}
</style>
2.在標籤中增加屬性οnfοcus="this.blur();"。
例:
<a href="#" οnfοcus="this.blur();">這是一個測試</a>
3.使用IE中特有的hidefocus屬性,設置值爲true。
例:
<a href="#" hidefocus="true">這是一個測試</a>
1.使用css屬性outline:0;
例:
<style type="text/css">
a:focus{outline:0;}
</style>
2.在標籤中增加屬性οnfοcus="this.blur();"。
例:
<a href="#" οnfοcus="this.blur();">這是一個測試</a>
3.使用IE中特有的hidefocus屬性,設置值爲true。
例:
<a href="#" hidefocus="true">這是一個測試</a>