본문 바로가기
웹프로그래밍/HTML5

[HTML5] output

by 폴더맨 2024. 6. 9.
<!DOCTYPE html>
<html>
<body>

<h1>The output element</h1>

<form oninput="x.value=parseInt(a.value)+parseInt(b.value)">
<input type="range" id="a" value="50">
+<input type="number" id="b" value="25">
=<output name="x" for="a b"></output>
</form>

<p><strong>Note:</strong> The output element is not supported in Edge 12 (or earlier).</p>

</body>
</html>

'웹프로그래밍 > HTML5' 카테고리의 다른 글

[HTML5] 애러캐치  (0) 2024.06.09
[HTML5] picture  (0) 2024.06.09
[HTML5] position z-index  (0) 2024.06.09
[HTML5] font-variant  (0) 2024.06.09
[HTML5] 의사클래스  (0) 2024.06.09