Here are the style properties you use to set color and backgrounds:
Here's an example. In this case, I'm styling both the background and foreground colors of a document: (Listing 21-06.html on the web site)<HTML> <HEAD> <TITLE> Color Styles </TITLE> </HEAD> <BODY STYLE="background-color: cyan"> <H1> Color Styles </H1> <DIV STYLE="color: red"> Using Color Styles! </DIV> </BODY> </HTML> You can see the results in Figure 21.2. Figure 21.2. Using color styles.
|