Tabindex attribute, tabindex

Source: Internet
Author: User

Tabindex attribute, tabindex

1. tabindex usage:

You can set the movement order of the tab key in the control.

The following elements support the tabindex attribute: <a> <input> <textarea> <area> <select> <button> <select>.

The value of tabindex can be set to an integer between 0 and 32767. The default value of tabindex is 0.

When you use the tab key to control the moving sequence, the cursor first moves to the element with the smallest tabindex attribute value (except 0, After all positive values when the value is 0 ).

If the value of tabindex is negative, this element is automatically skipped when the tab key is used.

If the tabindex values of two elements are the same, they are sorted in the order of html elements.

2. compatibility:

Not compatible with Safari.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.