SETTING KEYBOARD SHORTCUTS

 

A great feature that was released in HTML 4 was the ability to add keyboard shortcuts to different pages. It works the same way as clicking on a link, only without using the mouse ;)

You can easily add a keyboard shortcut to a link. Inside the link's tag type accesskey="X",where X is any keyboard letter. Here's an example:
<a href="http://www.jehanzbe.tk" accesskey="h">Home</A> (ALT + h)
and that will come out like this Home (ALT + h)

When doing this keep a few things in mind. On Windows systems, to invoke the keybaordshortcut, visitors use the Alt key plus the letter you've assigned. On most Macs the keyboard shortcuts don't work yet, however the ones where they do work use the Command key. Keyboard shortcuts that you choose may override the browsers settings. If you assign a popular shortcut used in a browser to some part of your site, you may annoy your visitors. Thankfully Windows machines use Ctrl for their shortcuts, not Alt.

NOTE: This Shortcut I gave you was just to give you a general idea you wont go to home page if you press ALT+H on this site.

 

 

Hosted by www.Geocities.ws

1