<form action="/example/demo_form.aspx" id="numform" oninput="x.value=parseInt(a.value)+parseInt(b.value)">0
<input type="range" id="a" name="fname" value="50">100
+<input type="number" id="b" name="lname" value="50">
<p>下面的一个 <output> 元素位于表单之外的,但仍然属于表单的一部分:</p>
<p><b>注释:</b>Internet Explorer 不支持 <output> 标签。</p>