Answer by
drtew (8)
You must have a reference to the text area's DOM object. To change the font color, set the style attributes color field to a color value. To set the background color set the style attributes background Color field to a color value. Example: area. style. color = "red".