size attribute | size property
Sets or retrieves the number of rows in the list box.
![]() |
Syntax
| HTML | <element size="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: Integer
the number of rows.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 17.6
See also
Show:
