'cols' specifies the maximum number of characters that can fit on a single line : cols « Form « HTML / CSS






'cols' specifies the maximum number of characters that can fit on a single line

    
<HTML>
<BODY>
<textarea cols="10" rows="10">
This is a sample text containing more than the 10 characters specified.
</textarea>
<textarea cols="10" rows="10">1234567890</textarea>
</BODY>
</HTML>  
    
      
      








Related examples in the same category