HTML <output> formu Özellik
Örnek
Bir formun dışında (ancak yine de formun bir parçası) bulunan bir <output> öğesi:
<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>
Tanım ve Kullanım
Nitelik , etiketin ait olduğu form
formu belirtir .
<output>
Özniteliğin değeri
, aynı belgedeki bir öğenin özniteliğine form
eşit olmalıdır .
id
<form>
Tarayıcı Desteği
Attribute | |||||
---|---|---|---|---|---|
form | Not supported | Not supported | Not supported | Not supported | Not supported |
Sözdizimi
<output form="form_id">
Özellik Değerleri
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> etiketi