Search DaTutorials:  
HOME
DHTML Reference
Introduction
Reference

fgColor Property


Sets or retrieves the foreground (text) color of the document.

Syntax

document.fgColor(v) [ = vColor ]

Possible Values

vColorVariant that specifies or receives one of the color names or values in the Color Table.

The property is read/write. The property has a default value of #000000.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see>About Dynamic Properties.

Standards Information

There is no public standard that applies to this property.

Applies To

document

See Also

color, text

     Free Image Hosting | Credit Cards | Best Credit Cards | Loans | Mortgage Calculator
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp