asp.net.ph

Skip Navigation Links

fgColor Property

document Properties   Object Properties Summary


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

Syntax


HTML N/A
Script document.fgColor [ = sColor ]

Possible Values


sColor String value set to any one of the color names or values given in the Color Table.

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

Applies To

document

See Also

color, text



>

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note