ForeColor Command | Internet Development Index |
Sets or retrieves the foreground (text) color of the current selection.
Scripting Information
Command ForeColor User interface None. Set bUserInterface to false. execCommand vValue Required. String that specifies a color name or a six-digit hexadecimal RGB value, with or without a leading hash mark, as defined in the Color Table. Applies to execCommand, queryCommandEnabled, queryCommandIndeterm, queryCommandState, queryCommandSupported, queryCommandValue.
Remarks
The HTML generated by this command may vary depending on the version of Microsoft® Internet Explorer.
Standards Information
There is no public standard that applies to this command.
Minimum Availability
Internet Explorer 4.0 and later.