Ctrl+/
IE11
F11
ESC
PgUp
PgDn
<html>
<head>
<title>JavaScript取得页面的超链接数</title>
<script language="javascript">
<!--
function getLinks(){
links = document.all.tags("A")
total = links.length;
alert("本页面共有" + total + "个超链接!");
}
-->
</script>
</head>
<body onLoad="getLinks()">
<a href="#">a</a>
<a href="#">b</a>
<a href="#">c</a>
</body>
</html>
CSS代码...
JS代码...
xxxxxxxxxx