![]() |
Definition and UsageThe The WarningUsing accesskeys is difficult because they may conflict with other key standards in the browser. To avoid this problem, most browsers will use accesskeys only if pressed together with the Alt key. ConcernsAdapting accesskeys to all international languages are difficult. The accesskey value may not be present on all keyboards. Because of these concerns, it is advised not to use accesskeys. Browser Support |
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>
html accesskey attribute in html global attributes |
How to add Two hyperlinks with specified accesskeys - HTML Global Attributes | HTML Global Attributes |
Read Full: | HTML Global Attributes |
Type: | Develop |
Category: | Web Tutorial |
Sub Category: | HTML Global Attributes |
Uploaded by: | Admin |
Views: | 84 |
Reffered: https://www.w3schools.com/tags/ref_standardattributes.asp