HTML <input> form Attribute
ဥပမာ
HTML ဖောင်အပြင်ဘက်တွင်ရှိသော ထည့်သွင်းအကွက်တစ်ခု (သို့သော် ဖောင်၏တစ်စိတ်တစ်ပိုင်းဖြစ်နေဆဲ)။
<form action="/action_page.php" id="form1">
<label for="fname">First name:</label>
<input type="text" id="fname"
name="fname"><br><br>
<input type="submit" value="Submit">
</form>
<label for="lname">Last name:</label>
<input type="text" id="lname"
name="lname" form="form1">
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ရည်ညွှန်းချက်သည် ပါဝင်သည့် ဒြပ်စင် ပုံစံ ကို form
သတ်မှတ်သည် ။
<input>
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် attribute ကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးပါသည်။
Attribute | |||||
---|---|---|---|---|---|
form | Yes | Yes | Yes | 5.1 | 10.6 |
အထားအသို
<input form="form_id">
ရည်ညွှန်းတန်ဖိုးများ
Value | Description |
---|---|
form_id | Specifies the form element the <input> element belongs to. The value of this attribute must be the id attribute of a <form> element in the same document. |
❮ HTML <input> tag