HTML <output> form Attribute
ဥပမာ
ဖောင်တစ်ခု၏ အပြင်ဘက်တွင်ရှိသော <output> ဒြပ်စင်တစ်ခု (သို့သော် ဖောင်၏တစ်စိတ်တစ်ပိုင်းဖြစ်နေဆဲ)။
<form action="/action_page.php" id="numform"
oninput="x.value=parseInt(a.value)+parseInt(b.value)">
<input type="range" id="a" name="a" value="50">
+ <input type="number" id="b" name="b" value="25">
<input type="submit">
</form>
<output form="numform" id="x" name="x" for="a+b"></output>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ရည်ညွှန်းချက် သည် tag နှင့်သက်ဆိုင် form
သည့်ပုံစံကို သတ်မှတ် ပေးသည်။
<output>
ရည်ညွှန်းချက် ၏တန်ဖိုးသည်
တူညီသောစာရွက်စာတမ်းရှိ ဒြပ်စင်တစ်ခု၏ attribute form
နှင့် တူညီရပါမည် ။
id
<form>
Browser ပံ့ပိုးမှု
Attribute | |||||
---|---|---|---|---|---|
form | Not supported | Not supported | Not supported | Not supported | Not supported |
အထားအသို
<output form="form_id">
ရည်ညွှန်းတန်ဖိုးများ
Value | Description |
---|---|
form_id | Specifies the form element the <output> element belongs to. The value of this attribute must be the id attribute of a <form> element in the same document. |
❮ HTML <output> tag