HTML <input> multiple Attribute
ဥပမာ
တန်ဖိုးများစွာကို လက်ခံသည့် ဖိုင်အပ်လုဒ်အကွက်
<form action="/action_page.php">
<label for="files">Select files:</label>
<input type="file"
id="files" name="files" multiple><br><br>
<input type="submit">
</form>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
attribute သည် multiple
boolean attribute တစ်ခုဖြစ်သည်။
<input>
လက်ရှိအချိန်တွင်၊ အသုံးပြုသူသည် ဒြပ်စင် တွင် တန်ဖိုးတစ်ခုထက်ပို၍ထည့်ရန်ခွင့်ပြုထားကြောင်း သတ်မှတ်သည် ။
မှတ်ချက်- ရည်ညွှန်းချက်သည် အောက်ပါ multiple
ထည့်သွင်းမှုအမျိုးအစားများ- အီးမေးလ်၊ နှင့် ဖိုင်တို့နှင့် အလုပ်လုပ်သည်။
အကြံပြုချက်- အတွက် <input type="file">
: ဖိုင်များစွာကို ရွေးချယ်ရန် ရွေးချယ်နေစဉ်တွင် CTRL သို့မဟုတ် SHIFT ကီးကို ဖိထားပါ။
အကြံပြုချက်- အတွက် <input type="email">
: အီးမေးလ်တစ်ခုစီကို [email protected]၊ [email protected]၊ [email protected] ကဲ့သို့သော ကော်မာတစ်ခုဖြင့် ခွဲခြားပါ။
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် attribute ကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးပါသည်။
Attribute | |||||
---|---|---|---|---|---|
multiple | 6.0 | 10.0 | 3.6 | 5.0 | 11.0 |
အထားအသို
<input multiple>
❮ HTML <input> tag