html-tips-tricks/output/index.html

26 lines
982 B
HTML
Raw Normal View History

2020-08-13 09:59:44 +02:00
<!DOCTYPE html>
2020-08-13 15:03:33 +02:00
<html>
2020-08-13 09:59:44 +02:00
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>HTML Tips and Tricks - Output</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
2020-08-14 05:44:20 +02:00
<link href="https://fonts.googleapis.com/css2?family=Chilanka&display=swap" rel="stylesheet">
2020-08-13 09:59:44 +02:00
<link rel='stylesheet' type='text/css' media='screen' href='../main.css'>
</head>
<body>
<div class="demo">
2020-08-14 07:00:23 +02:00
<a href="../index.html" class="home">
<img src="../home.svg" alt="home" />
</a>
2020-08-13 09:59:44 +02:00
<h2> Let's see the Output </h2>
2022-10-06 19:08:55 +02:00
<form oninput="x.value= (a.value && b.value) ? parseInt(a.value) * parseInt(b.value) : 0">
2020-08-13 09:59:44 +02:00
<input type="number" id="a" value="0">
* <input type="number" id="b" value="0">
= <output name="x" for="a b"></output>
</form>
</div>
2020-08-13 15:03:33 +02:00
</body>
</html>