HTML <button> autofocus Attribute
ဥပမာ
အော်တို ဆုံချက်ပါသော ခလုတ်
<button type="button" autofocus>Click Me!</button>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
attribute သည် autofocus
boolean attribute တစ်ခုဖြစ်သည်။
ပေါ်လာသောအခါ၊ စာမျက်နှာကိုဖွင့်သောအခါတွင် ခလုတ်တစ်ခုသည် အလိုအလျောက်ဆုံချက်ရသင့်သည်ဟု သတ်မှတ်သည်။
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် attribute ကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးပါသည်။
Attribute | |||||
---|---|---|---|---|---|
autofocus | 5.0 | 10.0 | 4.0 | 5.0 | 9.6 |
အထားအသို
<button type="button" autofocus>
❮ HTML <button> တဂ်