'cols' Syntax and Note : cols textarea « HTML Attributes Reference « HTML CSS Reference

HTML CSS Reference
1.CSS Attributes and Javascript Style Properties
2.HTML Attributes Reference
3.HTML Tag Reference
HTML CSS Reference » HTML Attributes Reference » cols textarea 
'cols' Syntax and Note

It specifies the maximum number of characters that can fit on a single 
line of a <pre> or <textarea> element.

In the <textarea> element, the width of the element will be set to the 
number of cols specified.
<element cols="value"> . . . </element>

Related examples in the same category
1.'cols' Example
2.cols is applied to
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.