<html>
<body>
<h1>Element 对象</h1>
<h2>accessKey 属性</h2>
<a id="w3s" accesskey="w" href="https://www.w3school.com.cn/">W3School</a>
<p>此链接的快捷键是:</p>
<p id="demo"></p>
<script>
let key = document.getElementById("w3s").accessKey;
document.getElementById("demo").innerHTML = key;
</script>
</body>
</html>