HTML <textarea> အ မြင့်ဆုံး ရည်ညွှန်းချက်
ဥပမာ
အများဆုံး စာလုံး 50 အရှည်ရှိသော စာသားဧရိယာ-
<textarea maxlength="50">
Enter text here...
</textarea>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ရည်ညွှန်းချက်သည် စာသား maxlength
ဧရိယာတစ်ခု၏ အများဆုံးအရှည် (အက္ခရာများဖြင့်) သတ်မှတ်ပေးသည်။
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် attribute ကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးပါသည်။
Attribute | |||||
---|---|---|---|---|---|
maxlength | Yes | 10.0 | 4.0 | Yes | Yes |
အထားအသို
<textarea maxlength="number">
ရည်ညွှန်းတန်ဖိုးများ
Value | Description |
---|---|
number | The maximum number of characters allowed in the text area |
❮ HTML <textarea> တဂ်