Navigator 2.0, Internet Explorer 3.0
document.fgColor
fgColor is a string property that specifies the default color of text in document. This default color is used for all text in the document except hypertext links and text with an alternate color specified through the COLOR attribute of the HTML <FONT> tag.
The document text color can be set through the TEXT attribute in the <BODY> HTML tag, and the fgColor property will contain the specified value. The default color may also be specified by assigning a value to fgColor directly, but this may only be done in the <HEAD> of the document, before the <BODY> tag is parsed.
Colors are specified either as one of the standard color names recognized by JavaScript, or as red, green, and blue color values, expressed as a string of six hexadecimal digits in the form "RRGGBB".
"Document", "Document.alinkColor", "Document.bgColor", "Document.linkColor", "Document.vlinkColor", Appendix G, JavaScript and HTML Color Names and Values
file: /Techref/language/java/script/definitive/refp_82.htm, 5KB, , updated: 2019/10/14 15:00, local time: 2024/11/24 14:34,
3.141.198.13:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/TECHREF/language/java/script/definitive/refp_82.htm"> [Chapter 21] Reference: Document.fgColor</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.