Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

size attribute | size property

Sets or retrieves the font size of the object.

 

Syntax

HTML<element size="p" ... >
JavaScript

p = object.size

 

Property values

Type: Integer

the font size within a range of 1 through 7, with 7 representing the largest font.

Standards information

See also

baseFont
font

 

 

Show:
© 2015 Microsoft