HTML <textarea> wrap Attribute
ဥပမာ
wrap="hard" ပါသော စာသားဧရိယာရှိ စာသားတွင် ဖောင်တစ်ခုတွင် တင်သွင်းသည့်အခါ လိုင်းအသစ်များ (ရှိပါက) ပါလိမ့်မည်-
<textarea rows="2" cols="20" wrap="hard">
At W3Schools you will find free Web-building tutorials.
</textarea>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ရည်ညွှန်းချက်သည် ဖောင်တစ်ခုတွင် တင်သွင်းသည့်အခါ စာသား ဧရိယာ wrap
ရှိ စာသားကို မည်ကဲ့သို့ ထုပ်ပိုးရမည်ကို သတ်မှတ်ပေးသည်။
Browser ပံ့ပိုးမှု
Attribute | |||||
---|---|---|---|---|---|
wrap | Yes | Yes | Yes | Yes | Yes |
အထားအသို
<textarea wrap="soft|hard">
ရည်ညွှန်းတန်ဖိုးများ
Value | Description |
---|---|
soft | The text in the textarea is not wrapped when submitted in a form. This is default |
hard | The text in the textarea is wrapped (contains newlines) when submitted in a form. When "hard" is used, the cols attribute must be specified |
❮ HTML <textarea> တဂ်