You are here: Reference > CSS > properties > accelerator

accelerator property

Browser support:
Specifies whether the object contains an accelerator key.
The underlined accelerator keys are only visible when the ALT key is pressed.
JavaScript page for this property: accelerator. You can find other example(s) there.

Possible values:

 One of the following values: 
The object does not contain an accelerator key.
The object contains an accelerator key.
Default: this property has no default value.

Example HTML code 1:

This example illustrates the use of the accelerator property:
        .example {
            accelerator: true;
    <label for="user"><u class="example">U</u>ser Name: </label>
    <input type="text" id="user" accesskey="U" value="User name here" />
    <br /><br />Press the ALT + U to use the accelerator!
Did you find this example helpful? yes no

Supported by tags:

External links:

User Contributed Comments

Post Content

Post Content