Idocs Guide to HTML

Attribute for <A ...>
ACCESSKEY = character

Like <INPUT ACCESSKEY="..."> and <BUTTON ACCESSKEY="...">, this attribute of <A ...> sets a shortcut key that "clicks" on the link. Currently Netscape 6 recognizes this attribute and MSIE does not. The value of ACCESSKEY should be a single letter. The shortcut is implemented (in Netscape, other browsers may vary) by holding the ALT key and pressing the letter given in this attribute.

<LI><A HREF="../"                ACCESSKEY="H">Home</A>
<LI><A HREF="_A.html"            ACCESSKEY="A">Anchor</A>
<LI><A HREF="../quicklist.html"  ACCESSKEY="Q">QuickList</A>

gives us:

Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.