The cover of The Complete Idiot's Guide to Create a Web Page The Complete Idiot's Style Sheets Reference

| Index | Current Category: Text |
| Previous Style: clip | Next Style: content |


color

Sets the color of text.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later 3.0 and later 4.0 and later
Notes: Possible Values:
[color]
The color of the text.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later 3.0 and later 4.0 and later

Notes:

Example:
<SPAN STYLE="color: #00FF00">This text is green,</SPAN> 
<SPAN STYLE="color: MediumSlateBlue">while this text is medium slate blue.</SPAN>
How It Looks:
This text is green, while this text is medium slate blue.

| Index | Current Category: Text |
| Previous Style: clip | Next Style: content |