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:
© 2014 Microsoft