size attribute | size property
Sets or retrieves the font size of the object.
Syntax
| HTML | <element size="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: Integer
the font size within a range of 1 through 7, with 7 representing the largest font.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 15.2.2 (Deprecated)
See also
Show: