HTMLUsing the Output Tag

The <output> tag is used to display the result of a calculation or user action, often with JavaScript and forms.

<form oninput=\"result.value=parseInt(a.value)+parseInt(b.value)\">
  <input type=\"number\" name=\"a\" value=\"0\" /> +
  <input type=\"number\" name=\"b\" value=\"0\" /> =
  <output name=\"result\">0</output>
</form>