You can control the text color by using the "<font>" tag and
the "color" attribute with
color names
or
color numbers.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Welcome to HTML</title>
</head>
<body bgcolor="#bdbdbd" text="black">
<center>
<b>
<font color="#0000ff">Blue Text </font><br />
<font color="red"> Red Text </font><br />
<font color="yellow"> Yellow Text</font><br />
</b>
</center>
</body>
</html>
|