HTML tabindex Attribute
ဥပမာ
သတ်မှတ်ထားသော တက်ဘ်အမှာစာပါသော လင့်ခ်များ-
<a href="https://www.w3schools.com/" tabindex="2">W3Schools</a>
<a href="http://www.google.com/" tabindex="1">Google</a>
<a href="http://www.microsoft.com/" tabindex="3">Microsoft</a>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ရည်ညွှန်းချက်သည် ဒြပ်စင်တစ်ခု၏ တက်ဘ ် tabindex
အစီအစဥ်ကို သတ်မှတ်ပေးသည် ("တက်ဘ်" ခလုတ်ကို အသုံးပြုသည့်အခါ)။
tabindex
ရည်ညွှန်းချက်အား မည်သည့် HTML ဒြပ်စင်တွင်မဆို အသုံးပြုနိုင်ပါသည် ။ (၎င်းသည် မည်သည့် HTML ဒြပ်စင်တွင်မဆို တရားဝင်ကြောင်း အတည်ပြုပေးပါမည်။ သို့သော်၊ ၎င်းသည် အသုံးဝင်မည်မဟုတ်ပါ)။
Browser ပံ့ပိုးမှု
Attribute | |||||
---|---|---|---|---|---|
tabindex | Yes | Yes | Yes | Yes | Yes |
အထားအသို
<element tabindex="number">
ရည်ညွှန်းတန်ဖိုးများ
Value | Description |
---|---|
number | Specifies the tabbing order of the element (1 is first) |
ဆက်စပ်စာမျက်နှာများ
HTML သင်ခန်းစာ- HTML အရည်အချင်းများ
HTML DOM ရည်ညွှန်းချက်- HTML DOM tabIndex Property