cols attribute | cols property
Sets or retrieves the width of the object.
![]() |
Syntax
| HTML | <element cols="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: Integer
the number of characters used to determine the width of the object.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 17.7
See also
Show:
