The accesskey attribute specifies a shortcut key to activate/focus an element.
Note: The shortcut is varying in different browsers:
Example:
HTML
<a href="https://horje.com" accesskey="h">HTML tutorial</a><br>
<a href="https://horje.com/learn/1012/what-is-html-accesskey-attribute" accesskey="c">CSS tutorial</a>
How to add Two hyperlinks with specified accesskeys - HTML Global Attributes | HTML Global Attributes |
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Global Attributes |
Uploaded by: | Admin |