• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Core Syntax > String.fontsize()

String.fontsize()

JavaScript1.0+, JScript1.0+ NES2+, Nav2+, IE3+, Opera3+ Syntax

							string.fontsize(num)

string.fontsize(string2)

Description

The fontsize() method sets the SIZE attribute of an instance of the <font> tag, which it creates. This attribute can be a number between 1 and 7. If you pass the method the number in the form of a string, the size displayed is relative to the <basefont> tag.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint