accesskey=""
Browser |
|
---|
The accesskey attribute assign a keyboard shortcut to an element.
This attribute can be used in the following elements.
A, AREA, INPUT, TEXTAREA, BUTTON, LABEL, LEGEND
<a href="example.html" accesskey="y"></a>
Attribute | Value | Explanation |
---|---|---|
accesskey=" " | character | arbitrary character |
Shortcut example
<a href="index.html" accesskey="m">Attributes(M)</a>
- MSIE (Windows) : Alt + Access key (M), finally push Enter
- Chrome and Safari (Windows) : Alt + Access key (M)
- Firefox (Windows) : Alt + Shift + Access key (M)
- Opera (Windows) : Shift + Esc + Access key (M)