编辑下面的代码:【加编码】
<html> <meta charset="utf-8"> <head> <script> function accesskey()   {   document.getElementById('zqxt').accessKey="z"   document.getElementById('google').accessKey="g"   } </script> </head> <body onload="accesskey()"> <a id="zqxt" href="/">自强学堂</a><br> <a id="google" href="http://www.google.com/">Google</a> <p><b>Note:</b> Use Alt + <i>accessKey</i> to access the element with the specified access key.</p> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂