asp.net.ph

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

ROWS Attribute | rows Property


Sets or retrieves the number of horizontal rows the object should contain.

Syntax

Inline <element ROWS = iRows ... >
Script object.rows = iRows ]

Possible Values

iRows Integer value specifying the number of rows.

The property is read/write with a default value of 2.

Remarks

This attribute specifies the number of visible text lines. Browsers should provide some means to scroll through the contents of the control when users enter more lines than this, or when the contents extend beyond the visible area.

Applies To

HTMLAREA, TEXTAREA

See Also

COLS 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