HTML <textarea> ပုံစံ Attribute
ဥပမာ
ဖောင်တစ်ခု၏ အပြင်ဘက်တွင်ရှိသော စာသားဧရိယာ (သို့သော် ဖောင်၏တစ်စိတ်တစ်ပိုင်းဖြစ်နေဆဲ)။
<form action="/action_page.php" id="usrform">
Name: <input type="text" name="usrname">
<input type="submit">
</form>
<textarea name="comment" form="usrform">Enter text here...</textarea>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
form
ရည်ညွှန်းချက်သည် စာသားဧရိယာ၏ ဖောင်ပုံစံကို သတ်မှတ်ပေးသည် ။
ဤ attribute ၏တန်ဖိုး သည် တူညီသောစာရွက်စာတမ်းရှိ element တစ်ခု၏ id
attribute နှင့် တူညီရပါမည် ။
<form>
Browser ပံ့ပိုးမှု
Attribute | |||||
---|---|---|---|---|---|
form | Yes | 11.0 | Yes | Yes | Yes |
အထားအသို
<textarea form="form_id">
ရည်ညွှန်းတန်ဖိုးများ
Value | Description |
---|---|
form_id | Specifies the form element the <textarea> element belongs to. The value of this attribute must be the id attribute of a <form> element in the same document. |
❮ HTML <textarea> တဂ်