Tryit Editor v1.4

<html> <head> <script type="text/javascript"> function accesskey() { document.getElementById('w3').accessKey="w"; document.getElementById('w3dom').accessKey="d"; } </script> </head> <body onload="accesskey()"> <p><a id="w3" href="../default.htm">W3Schools.com</a> (Use Alt + w to give focus to the link)</p> <p><a id="w3dom" href="../htmldom/default.htm">HTML DOM</a> (Use Alt + d to give focus to the link)</p> </body> </html> | Your Result:
Edit the code above and click to see the result. | W3Schools.com - Try it yourself