19 lines
393 B
HTML
19 lines
393 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>HTML5 ouput tag</title>
|
|
</head>
|
|
<body>
|
|
|
|
<form oninput="x.value=parseInt(a.value)+parseInt(b.value)">0
|
|
<input type="range" id="a" value="50">100
|
|
+<input type="number" id="b" value="50">
|
|
=<output name="x" for="a b"></output>
|
|
</form>
|
|
|
|
<p><strong>Note:</strong> The output tag is not supported in Internet Explorer.</p>
|
|
|
|
</body>
|
|
</html>
|