You are here : htmlHTML 5output

<output> - HTML 5

The <output> tag represents the result of a calculation (like one performed by a script).


Syntax

    <form oninput="x.value=parseInt(a.value)+parseInt(b.value)">0  <input type="range" id="a" value="50">100  +<input type="number" id="b" value="50">  =<output name="x" for="a b"></output>	</form>


Example

    <form oninput="x.value=parseInt(a.value)+parseInt(b.value)">0  <input type="range" id="a" value="50">100  +<input type="number" id="b" value="50">  =<output name="x" for="a b"></output>	</form>


Output / Return Value


Limitations


Alternatives / See Also


Reference