HTML <textarea> cols Attribute
ဥပမာ
သတ်မှတ်ထားသော အမြင့်နှင့် အကျယ်ရှိသော စာသားဧရိယာ-
<textarea rows="4" cols="50">
At w3schools.com you will learn how to make a website. We offer free tutorials in all web development technologies.
</textarea>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ရည်ညွှန်းချက်သည် စာသားဧရိယာ ၏ cols
မြင်နိုင်သော အကျယ်ကို သတ်မှတ်သည်။
အကြံပြုချက်- စာသားဧရိယာ၏အရွယ်အစားကိုလည်း CSS အမြင့်နှင့် အကျယ်ဂုဏ်သတ္တိများဖြင့် သတ်မှတ်နိုင်သည်။
Browser ပံ့ပိုးမှု
Attribute | |||||
---|---|---|---|---|---|
cols | Yes | Yes | Yes | Yes | Yes |
အထားအသို
<textarea cols="number">
ရည်ညွှန်းတန်ဖိုးများ
Value | Description |
---|---|
number | Specifies the width of the text area (in average character width). Default value is 20 |
❮ HTML <textarea> တဂ်