'maxlength' sets the maximum number of characters in a text or password control : maxlength « Form « HTML / CSS






'maxlength' sets the maximum number of characters in a text or password control

    
<HTML>
<BODY>
<form>
    <input type="password" name="text1" maxlength="10">
</form>
</BODY>
</HTML>  

      
      








Related examples in the same category