HTML and CSS Reference
form=" id of form owner
id of form owner "
Explicitly associates the input control with its associated form (its form owner ). With this
method, the output control does not need to be a child of the applicable form element.
Gives an identifying name to the form control used in form submission.
<form oninput="myCalc.value = parseInt(a.value) +
<input type="number" id="a"> + <input type="number" id="b">
= <output name="myCalc" for="a b"> [displays value
of a+b] </output>