HTML accesskey attribute

HTML accesskey attribute

In this tutorial, we will learn about accesskey attribute in HTML with the help of examples.

accesskey attribute

The accesskey attribute specifies a shortcut key to activate/focus an tag.

Note : The accesskey attribute value must be single character(a digit or a letter).


<a accesskey = "character">......</a>

Attribute values

Value Description
character A single character that specifies the shortcut key to activate/focus the tag

Next Tutorial

We hope that this tutorial helped you develop better understanding of the concept of Global Attribute in HTML.

Keep Learning : )

In the next tutorial, you'll learn about HTML Class Attribute.

- Related Topics