'cols' Syntax and Note : cols 3 « Javascript Properties « JavaScript Reference

'cols' Syntax and Note

Note:

Read and write property. 
Sets the character width for <textarea>.
    
Syntax:
    
document.getElementById("textareaID").cols = value
document.all.textareaID.cols = value // IE only

    

      
      








Related examples in the same category

1.'cols' Example
2.'cols' is applied to