HTML:- output tag with textbox

<!DOCTYPE html>
<html>

<head>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <title>output</title>
</head>

<body>

 <form oninput="result.value=parseInt(a.value)+parseInt(b.value)">
  <input type="range" name="b" value="50" /> +
  <input type="number" name="a" value="10" /> =

  <output name="result"></output>

 </form>

</body>

</html>


Output Tag with TextField


  • In this example we are add the rangevalue and textbox value and display into <output> tag.
HTML:- output tag with textbox HTML:- output tag with textbox Reviewed by Network security on April 30, 2019 Rating: 5

No comments:

Useful Information

Powered by Blogger.