![]() |
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 |
HTML accesskey Attribute | HTML Global Attributes |
HTML class Attribute | HTML Global Attributes |
HTML contenteditable Attribute | HTML Global Attributes |
HTML data-* Attributes | HTML Global Attributes |
HTML dir Attribute | HTML Global Attributes |
HTML draggable Attribute | HTML Global Attributes |
HTML enterkeyhint Attribute | HTML Global Attributes |
HTML hidden Attribute | HTML Global Attributes |
HTML id Attribute | HTML Global Attributes |
HTML inert Attribute | HTML Global Attributes |
HTML inputmode Attribute | HTML Global Attributes |
HTML lang Attribute | HTML Global Attributes |
HTML popover Attribute | HTML Global Attributes |
HTML spellcheck Attribute | HTML Global Attributes |
HTML style Attribute | HTML Global Attributes |
HTML tabindex Attribute | HTML Global Attributes |
HTML title Attribute | HTML Global Attributes |
HTML translate Attribute | HTML Global Attributes |
HTML Global Attributes | HTML Global Attributes |
How to add Two hyperlinks with specified accesskeys - HTML Global Attributes | HTML Global Attributes |
Type: | Develop |
Category: | Web Tutorial |
Sub Category: | HTML Global Attributes |
Uploaded by: | Admin |
Reffered: https://www.w3schools.com/tags/ref_standardattributes.asp