dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web
Expertise: Intermediate
Feb 11, 2000

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


Add Keyboard Shortcuts to Your Web Page

With HTML 4.0, you can add keyboard shortcuts to your Web page. To achieve this, you place the ACCESSKEY attribute inside the form element tag. It is advisable to add text information about the shortcut so that the user is aware of the shortcut key to use. In this example, ALT + M can be used to access the radio button. Remember not to override the browser shortcuts with the keyboard shortcuts you introduce.

 
<INPUT TYPE="radio" NAME="MyRadioButton" ACCESSKEY="m">
My Option (ALT + M to select this)
Jai Bardhan
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date