In this tutorial, We will introduce you about the maxlength attribute of the <textarea> tag in html5. This attribute is used to specify that the maximum number of character can be entered in the input textarea. The user can not able to input more character in the textarea.
The attribute is used as in the <textarea> tag:
|<textarea maxlength="value">Text Here</textarea>|
This attribute have non negative integer values.
Difference between html4.01 and html5
This attribute is new in the html5.
Posted on: September 17, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles