HTML5
Этот тег определяет результат расчета.
<!DOCTYPE html>
<
html
>
head
meta
charset
=
"utf-8"
/>
title
>New Page</
</
body
form
oninput
"x.value=parseFloat(a.value)+parseFloat(b.value)"
fieldset
legend
align
"center"
>Sum of the two numbers</
br
input
type
"number"
name
"a"
value
"0"
label
>+</
"b"
>=</
output
"x"
for
"a b"
></
"reset"
"Clear"