<!doctype html>
<head>
<title>The output tag</title>
</head>
<body>
<h1>This is an example for output tag</h1>
<form oninput="result.value=parseInt(a.value)+parseInt(b.value)">
<input type="range" name="b" value="50" /> +
<input type="number" name="a" value="10" /> =
<output name="result">60</output>
</form>
</body>
</html>