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

Chapter 6. Core Syntax > String.fontcolor()

String.fontcolor()

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

							string.fontcolor(hexnum)

string.fontcolor(color)

Description

The fontcolor() method sets the COLOR attribute of an instance of the <font> tag, which it creates. This attribute can either be passed as the hexadecimal equivalent of the color or the actual string that represents that color.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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