asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Element Attributes > COLS Attribute

COLS Attribute | cols Property


Retrieves the width of the object, in characters.

Syntax

Inline <element COLS = iCount...>
Script [ iCount = ] object.cols

Possible Values

iCount Integer specifying the number of characters.

The property is read-only with a default value of 20.

Applies To

HTMLAREA, TEXTAREA

See Also

ROWS Attribute



Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note