Set input field number min max - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:input number

Description

Set input field number min max

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
 </head> <!-- www  . ja v a2  s  . c o  m-->
 <body> 
  <input name="year" type="number" placeholder="YYYY" min="1990" max="2014" value="1990" required>  
 </body>
</html>

Related Tutorials