Maximum Length and Number of Lines

The following example shows how to create a textarea with a maximum number of characters per line and a maximum number of lines in a textarea. Go ahead, try it out!

Textarea with fixed number of characters per line:






[ This code example from Maximum Length and Number of Lines Code Snippet page. ]