Thread: Basic html
View Single Post
Old 09-24-2006, 11:52 AM   #1 (permalink)
kwokwai
 
True Techie

Join Date: Sep 2006

Posts: 168

kwokwai

Default Basic html

<textarea rows="2" cols="4" name="comments">

The above html tag will display users a textarea with 4 columns and 2 rows, but I found that I can enter as many words as I want into the textarea.

There is a restriction tag for input textbox, like maxlength="12".
But I don't know why I can't apply maxlength to restrict the number of words that are allowed to be entered in the textarea!
kwokwai is offline