HTML <output> name Attribute
Example
<form oninput="result.value=parseInt(a.value)+parseInt(b.value)">
<input type="range" id="b" name="b" value="50" /> +
<input type="number" id="a" name="a" value="10" /> =
<output name="result" for="a b">50</output>
</form>
Meaning
The name attribute should set the name to be used in a name/value pair if the element is used in form submission.
Standard Syntax
<output name="name">...</output>
Advertisement
Attribute Values
| Value | Description |
|---|---|
| name | Unique name represents the element’s name. |