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>
|
|
|
|
<form oninput="x.value=parseInt(a.value) * parseInt(b.value)">
|
|
|
|
<input type="number" id="a" value="0">
|
|
|
|
* <input type="number" id="b" value="0">
|
|
|
|
= <output name="x" for="a b"></output>
|
|
|
|
</form>
|
2022-10-02 21:08:45 +02:00
|
|
|
<br><br>
|
|
|
|
<details>
|
|
|
|
<summary>see code:</summary>
|
|
|
|
<p>
|
|
|
|
The code to implement this OUTPUT is as below:<br>
|
|
|
|
<img src="../code-example-images/output.png" alt="couldn't load image"/>
|
|
|
|
</p>
|
|
|
|
</details>
|
2020-08-13 09:59:44 +02:00
|
|
|
</div>
|
2020-08-13 15:03:33 +02:00
|
|
|
</body>
|
|
|
|
</html>
|