+ 3

In html, which code specifies a short key to access an element?

15th Nov 2019, 10:09 AM
Alfred Juma
Alfred Juma - avatar
3 odpowiedzi
+ 2
Did you mean a way to assign a shortcut key for an element? If so, then you can use `accesskey` attribute on the element. This attribute assigns a special character (letter) that when combined with modifier key will activate or sets the focus on the said element. Note that the necessary modifier key differs between browsers. https://www.w3schools.com/jsref/prop_html_accesskey.asp (Edit) FYI, You can edit your post if you made a typo or something, it was kind of you to notify about the typo, but there's no need, cause you can edit the question (just for future reference).
15th Nov 2019, 10:54 AM
Ipang
+ 3
Yea
15th Nov 2019, 10:54 AM
Alfred Juma
Alfred Juma - avatar
+ 2
You mean accesskey attribute??
15th Nov 2019, 10:52 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar