Name
ROWS — NN all IE all HTML all
Synopsis
ROWS=”rowCount"
Optional
The height of the TEXTAREA
element based on the
number of lines of text that are to be displayed without scrolling.
The value represents the number of monofont character lines that are
to be displayed within the height before the scrollbar becomes
active. When the font size can be influenced by style sheets, the
actual height changes accordingly.
Example
<TEXTAREA ROWS=5 COLS=40></TEXTAREA>
Value
Any positive integer.
Default
Varies with browser and operating system.
Object Model Reference
- IE
[window.]document.formName.elementName.rows
[window.]document.forms[i].elements[i].rows
[window.]document.all.elementID.rows
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.