Link Range Input Listener to form <output> - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:output

Description

Link Range Input Listener to form <output>

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
 </head> <!--from  w ww. jav  a  2  s. c o m-->
 <body> 
  <form oninput="result.value=parseInt(a.value)"> 
   <input type="range" name="a" value="50"> = 
   <output name="result">0</output> 
  </form>  
 </body>
</html>

Related Tutorials