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

'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