<html>
<body>
<p>Example for <b>Output Tag</b></p>
<form oninput = "totalresult.value = parseInt(M1.value)+parseInt(M2.value)">
<input type = "range" name = "M1" value = "0" /> +
<input type = "number" name = "M2" value = "1000" />
<br><br>
Total = <output name = "totalresult"></output>
</form>
</body>
</html>