Back to Concepts

<output>

Result of a calculation.

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

Live Example & Code

Preview Output
<form oninput="x.value=parseInt(a.value)+parseInt(b.value)">
  <input type="range" id="a" value="50"> +
  <input type="number" id="b" value="50"> =
  <output name="x" for="a b"></output>
</form>
HTMLViz
© 2026 HTMLViz. Open Source Learning.