HTML accesskey Attribute

With accesskey attribute one can easily assign the Windows shortcut to activate or focus the element.

Note : Although all browsers supports this attribute but their behavior is also different in all browsers too

HTML accesskey Attribute use in elements

 



Page Title


My First Heading

With this access key you can use them via keyboard shortcut directly.

Note: You can use them using below shortcuts in different browsers:

  • IE, Chrome, Safari, Opera: [ALT] + accesskey
  • Opera old versions : [SHIFT] [ESC] + accesskey
  • Firefox : [ALT] [SHIFT] + accesskey
Tip : You can create own set of shortcuts for easily running multiple function in program.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *