Force to upper-case in input field - HTML CSS CSS Form

HTML CSS examples for CSS Form:input

Description

Force to upper-case in input field

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
.upperCase {<!--from  w ww .  j a  v a  2 s. c o  m-->
   text-transform:uppercase !important;
}
</style> 
 </head> 
 <body> 
  <input type="text" class="upperCase">  
 </body>
</html>

Related Tutorials