cols (TextArea element)
all
alt
ch
dir
id
low
min
rel
top
url
URL
urn
TOC
Collapse the table of content
Expand the table of content

cols attribute | cols property

Sets or retrieves the width of the object.

HTML 4.01 Specification, Section 17.7

 

Syntax

HTML<element cols="p" ... >
JavaScript

p = object.cols

 

Property values

Type: Integer

the number of characters used to determine the width of the object.

20

Default value.

Standards information

See also

textArea

 

 

Show:
© 2016 Microsoft