Sets or retrieves the foreground (text) color of the document.
dhtml语法
document.fgColor(v) [ = vColor ]
DHTML可能的值
vColor | Variant 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.
是否符合公共标准
There is no public standard that applies to this property.
Applies To
更多语法参考
color, text