This attribute specifies that the element receives focus shortcut key (ALT + letter or letters ALT + Shift +).
grammar structure:
<``element
accesskey``=``"character"``>
Parameters Resolution:
character: that the predetermined element obtained convenient key focus.
Browser support:
(1) .IE browsers support this property.
(2) .edge browsers support this property.
(3). Google browsers support this property.
(4). Firefox browsers support this property.
(5) .opera browsers support this property.
(6) .safria browsers support this property.
Code examples:
<!doctype html>
<``html``>
<``head``>
<``meta
charset``=``"utf-8"``>
<``meta
name``=``"author"
content``=``"[http://www.softdewhy.com/](http://www.softdewhy.com/)"
/>
<``title``>兴趣部落</``title``>
</``head``>
<``body``>
<``input
type``=``"text"
name``=``"txt"
accesskey``=``"h"``>
</``body``>
</``html``>
The above code text box to the shortcut key to h.
Finally, I recommend a push in the front-end learning exchange group 685 910 553 Advanced ( front-end information-sharing ), no matter which direction you are on Earth,
whether you are welcome to work in a few years you settled in! (Within the group regularly offer free collection of some of the main group of free learning materials and books tidied face questions and answers document!)
If you have any objection to this article, then please write your comments in the article comments at.
If you find this article interesting, please share and forward, or you can look at, you acknowledge and encouragement of our articles.
Wish everyone in the programming this road, farther and farther.