accesskey Attribute
accesskey
The accesskey attribute is used to define a shortcut key to activate/focus an element. Its value must be a single character (a letter or a digit).
Attribute Explanation:-
Value | Description |
---|---|
character | A single character that specifies the shortcut key to activate/focus the element |
Syntax:-
Its syntax is:- < element accesskey="character" >
Code Explanation
All Tutorials related to HTML Global Attributes
accesskey Attribute
class Attribute
contenteditable Attribute
data-* Attributes
dir Attribute
draggable Attributes
hidden Attribute
id Attribute
lang Attribute
spellcheck Attribute
style Attribute
tabindex Attribute
title Attribute
translate Attribute